37 references to Method
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (23)
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (23)
715checker.Method(5, 1, "public int Prop3") 717checker.Method(6, 1, "public int Prop3") 719checker.Method(7, 1, "public Program()") 724checker.Method(8, 1, "public static void Main") 727checker.Method(10, 1) 913checker.Method(3, 1, "public static void Main") 916checker.Method(4, 1, "static void TestMain") 918checker.Method(6, 1, "public void M1()") 930checker.Method(7, 1, snippet: null, expectBodySpan: false); 931checker.Method(9, 1) 3055checker.Method(3, 1, "partial void Method1<U>(int x)") 3062checker.Method(4, 1, "public void Method2(int x)") 3065checker.Method(5, 1, ".ctor()", expectBodySpan: false); 3066checker.Method(6, 1, "public static void Main(string[] args)") 3069checker.Method(7, 1, "static void Test()") 3073checker.Method(10, 1) 3212checker.Method(3, 1, "public void Method2(int x)") 3214checker.Method(4, 1, ".ctor()", expectBodySpan: false); 3215checker.Method(5, 1, "public static void Main(string[] args)") 3218checker.Method(6, 1, "static void Test()") 3222checker.Method(9, 1) 3594checker.Method(1, 1, snippet: "", expectBodySpan: false) 3598checker.Method(5, 1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (14)
Emit\DynamicAnalysis\DynamicInstrumentationTests.vb (14)
40checker.Method(1, 1, "Public Sub Main"). 43checker.Method(2, 1, "Sub TestMain()") 44checker.Method(5, 1). 2437checker.Method(1, 1, "New", expectBodySpan:=False) 2438checker.Method(2, 1, "Private Sub Method1(x as Integer)"). 2445checker.Method(3, 1, "Public Sub Method2(x as Integer)"). 2448checker.Method(4, 1, "Public Sub Main()"). 2451checker.Method(5, 1, "Sub Test()"). 2455checker.Method(8, 1). 2521checker.Method(1, 1, "New", expectBodySpan:=False) 2522checker.Method(2, 1, "Public Sub Method2(x as Integer)"). 2524checker.Method(3, 1, "Public Sub Main()"). 2527checker.Method(4, 1, "Sub Test()"). 2531checker.Method(7, 1).