5 references to BigForDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Diagnostics\OperationAnalyzerTests.cs (3)
218
Diagnostic(BigForTestAnalyzer.
BigForDescriptor
.Id, "for (x = 0; x < 2000000; x++) {}").WithLocation(9, 9),
219
Diagnostic(BigForTestAnalyzer.
BigForDescriptor
.Id, "for (x = 3000000; x > 0; x -= 2) {}").WithLocation(13, 9),
220
Diagnostic(BigForTestAnalyzer.
BigForDescriptor
.Id, "for (x = 0; x < 2000000; x = x + 1) {}").WithLocation(17, 9));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\OperationTestAnalyzer.cs (2)
136
get { return ImmutableArray.Create(
BigForDescriptor
); }
213
Report(operationContext, forLoop.Syntax,
BigForDescriptor
);