9 references to getSource
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
RefReadonlyParameterTests.cs (9)
7617
var source1 =
getSource
("""
7624
var source2 =
getSource
("""
7657
var source1 =
getSource
("""
7666
var source2 =
getSource
("""
7676
var source3 =
getSource
("""
8172
var source1 =
getSource
("x = (delegate*<ref readonly int, void>)&Y;");
8190
var source2 =
getSource
($"y = (delegate*<{modifier} int, void>)&X;");
8498
var source1 =
getSource
($"""x = (X)(({modifier} int p) => System.Console.Write("3"));""");
8518
var source2 =
getSource
("""y = (Y)((ref readonly int p) => System.Console.Write("4"));""");