Skip to content

Commit d837ea4

Browse files
authored
Update LibraryImportGenerator unit tests with interpolated string arguments (#69285)
1 parent ea00434 commit d837ea4

File tree

1 file changed

+4
-4
lines changed
  • src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests

1 file changed

+4
-4
lines changed

src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CodeSnippets.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,15 @@ partial class Test
225225
SetLastError = IsFalse)]
226226
public static partial void Method1();
227227
228-
[LibraryImport(nameof(Test),
228+
[LibraryImport(nameof(Test) + ""Suffix"",
229229
StringMarshalling = (StringMarshalling)Two,
230-
EntryPoint = EntryPointName,
230+
EntryPoint = EntryPointName + ""Suffix"",
231231
SetLastError = !IsTrue)]
232232
public static partial void Method2();
233233
234-
[LibraryImport(nameof(Test),
234+
[LibraryImport($""{nameof(Test)}Suffix"",
235235
StringMarshalling = (StringMarshalling)2,
236-
EntryPoint = EntryPointName,
236+
EntryPoint = $""{EntryPointName}Suffix"",
237237
SetLastError = 0 != 1)]
238238
public static partial void Method3();
239239
}

0 commit comments

Comments
 (0)