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