1 write to Methods
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\DynamicAnalysisDataReader.cs (1)
126Methods = methodsBuilder.ToImmutableAndFree();
100 references to Methods
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (53)
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.cs (53)
84Assert.Equal(13, reader.Methods.Length); 88VerifySpans(reader, reader.Methods[0], sourceLines, // Main 93VerifySpans(reader, reader.Methods[1], sourceLines, // Fred get 97VerifySpans(reader, reader.Methods[2], sourceLines, // Barney 101VerifySpans(reader, reader.Methods[3], sourceLines, // Wilma get 105VerifySpans(reader, reader.Methods[4], sourceLines, // Wilma set 108VerifySpans(reader, reader.Methods[5], sourceLines, // Betty get 112VerifySpans(reader, reader.Methods[6], sourceLines, // Pebbles get 116VerifySpans(reader, reader.Methods[7], sourceLines, // Pebbles set 120VerifySpans(reader, reader.Methods[8]); 228Assert.Equal(6, reader.Methods.Length); 232VerifySpans(reader, reader.Methods[0], sourceLines, 268VerifySpans(reader, reader.Methods[1]); 348Assert.Equal(15, reader.Methods.Length); 352VerifySpans(reader, reader.Methods[0], sourceLines, 356VerifySpans(reader, reader.Methods[1], sourceLines, 359VerifySpans(reader, reader.Methods[2], sourceLines, 363VerifySpans(reader, reader.Methods[3], sourceLines, 366VerifySpans(reader, reader.Methods[4], sourceLines, 370VerifySpans(reader, reader.Methods[5], sourceLines, 374VerifySpans(reader, reader.Methods[6], sourceLines, 378VerifySpans(reader, reader.Methods[7], sourceLines, 382VerifySpans(reader, reader.Methods[8], sourceLines, 385VerifySpans(reader, reader.Methods[9], sourceLines, 389VerifySpans(reader, reader.Methods[10], sourceLines, 441VerifySpans(reader, reader.Methods[0], sourceLines, 448VerifySpans(reader, reader.Methods[1], sourceLines, 498VerifySpans(reader, reader.Methods[1], sourceLines, 537VerifySpans(reader, reader.Methods[0], sourceLines, 568VerifySpans(reader, reader.Methods[0], sourceLines, 608VerifySpans(reader, reader.Methods[0], sourceLines, 676VerifySpans(reader, reader.Methods[0], sourceLines, 680VerifySpans(reader, reader.Methods[1], sourceLines, 685VerifySpans(reader, reader.Methods[2], sourceLines, 689VerifySpans(reader, reader.Methods[3], sourceLines, 696VerifySpans(reader, reader.Methods[4], sourceLines, 703VerifySpans(reader, reader.Methods[5], sourceLines, 710VerifySpans(reader, reader.Methods[6], sourceLines, 757VerifySpans(reader, reader.Methods[0], sourceLines, 761VerifySpans(reader, reader.Methods[1], sourceLines, 765VerifySpans(reader, reader.Methods[2], sourceLines, 769VerifySpans(reader, reader.Methods[5], sourceLines, // Synthesized instance constructor 774VerifySpans(reader, reader.Methods[6], sourceLines, // Synthesized static constructor 838VerifySpans(reader, reader.Methods[0], sourceLines, 842VerifySpans(reader, reader.Methods[1], sourceLines, 849VerifySpans(reader, reader.Methods[2], sourceLines, 853VerifySpans(reader, reader.Methods[3], sourceLines, // Synthesized static constructor for C 857VerifySpans(reader, reader.Methods[4], sourceLines, // Synthesized instance constructor for D 863VerifySpans(reader, reader.Methods[5], sourceLines, // Synthesized static constructor for D 869VerifySpans(reader, reader.Methods[6], sourceLines, // Synthesized static constructor for E 932VerifySpans(reader, reader.Methods[0], sourceLines, 936VerifySpans(reader, reader.Methods[1], sourceLines, 940VerifySpans(reader, reader.Methods[3], sourceLines,
Microsoft.CodeAnalysis.Test.Utilities (3)
InstrumentationChecker.cs (3)
45for (int method = 1; method <= reader.Methods.Length; method++) 180for (int method = 1; method <= reader.Methods.Length; method++) 349var actualSpans = reader.GetSpans(reader.Methods[method - 1].Blob);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (44)
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.vb (44)
85Assert.Equal(12, reader.Methods.Length) 89VerifySpans(reader, reader.Methods(1), sourceLines, ' Main 94VerifySpans(reader, reader.Methods(2), sourceLines, ' Fred get 98VerifySpans(reader, reader.Methods(3), sourceLines, ' Barney 102VerifySpans(reader, reader.Methods(4), sourceLines, ' Wilma get 106VerifySpans(reader, reader.Methods(5), sourceLines, ' Wilma set 109VerifySpans(reader, reader.Methods(6)) ' Betty get -- VB does not supply a valid syntax node for the body. 111VerifySpans(reader, reader.Methods(7)) 204VerifySpans(reader, reader.Methods(0), sourceLines, ' TestIf 221VerifySpans(reader, reader.Methods(1), sourceLines, ' TestDoLoops 238VerifySpans(reader, reader.Methods(2), sourceLines, ' TestForLoops 304VerifySpans(reader, reader.Methods(0), sourceLines, ' TryAndSelect 372VerifySpans(reader, reader.Methods(0), sourceLines, ' Branches 466VerifySpans(reader, reader.Methods(0), sourceLines, 470VerifySpans(reader, reader.Methods(1), sourceLines, 473VerifySpans(reader, reader.Methods(2), sourceLines, 477VerifySpans(reader, reader.Methods(3), sourceLines, 480VerifySpans(reader, reader.Methods(4), sourceLines, 483VerifySpans(reader, reader.Methods(5), sourceLines, 487VerifySpans(reader, reader.Methods(6), sourceLines, 491VerifySpans(reader, reader.Methods(7), sourceLines, 494VerifySpans(reader, reader.Methods(8), sourceLines, 498VerifySpans(reader, reader.Methods(9), sourceLines, 502VerifySpans(reader, reader.Methods(10), sourceLines, 571VerifySpans(reader, reader.Methods(0), sourceLines, 575VerifySpans(reader, reader.Methods(1), sourceLines, 580VerifySpans(reader, reader.Methods(2), sourceLines, 584VerifySpans(reader, reader.Methods(3), sourceLines, 591VerifySpans(reader, reader.Methods(4), sourceLines, 598VerifySpans(reader, reader.Methods(5), sourceLines, 605VerifySpans(reader, reader.Methods(6), sourceLines, 661VerifySpans(reader, reader.Methods(0), sourceLines, 665VerifySpans(reader, reader.Methods(1), sourceLines, 669VerifySpans(reader, reader.Methods(4), sourceLines, 673VerifySpans(reader, reader.Methods(2), sourceLines, ' implicit shared constructor 679VerifySpans(reader, reader.Methods(3), sourceLines, ' implicit instance constructor 758VerifySpans(reader, reader.Methods(0), sourceLines, 762VerifySpans(reader, reader.Methods(1), sourceLines, 770VerifySpans(reader, reader.Methods(2), sourceLines, ' Synthesized shared constructor for C 774VerifySpans(reader, reader.Methods(3), sourceLines, 778VerifySpans(reader, reader.Methods(4), sourceLines, ' Synthesized shared constructor for D 784VerifySpans(reader, reader.Methods(5), sourceLines, ' Synthesized instance constructor for D 790VerifySpans(reader, reader.Methods(6), sourceLines, ' Synthesized shared constructor for E 796VerifySpans(reader, reader.Methods(7), sourceLines, ' Synthesized shared constructor for F