Create 0001-ambiguous-call-site.patch (#19647)

This commit is contained in:
Viktor Hofer 2024-05-02 22:01:44 +02:00 committed by GitHub
parent 45e9839075
commit 241a8a396b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,22 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Viktor Hofer <viktor.hofer@microsoft.com>
Date: Thu, 2 May 2024 17:22:41 +0000
Subject: [PATCH] Avoid ambiguous call site
---
.../Workspace/Core/CodeGeneration/CodeGenerationHelpers.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/CodeGeneration/CodeGenerationHelpers.cs b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/CodeGeneration/CodeGenerationHelpers.cs
index 3839eb370eb..8d272db6b1b 100644
--- a/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/CodeGeneration/CodeGenerationHelpers.cs
+++ b/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/CodeGeneration/CodeGenerationHelpers.cs
@@ -71,7 +71,7 @@ internal static class CodeGenerationHelpers
break;
}
- name = string.Join(".", [.. names]);
+ name = string.Join(".", names);
}
else
{