6 references to LocalCouldBeConstDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Diagnostics\OperationAnalyzerTests.cs (2)
552
Diagnostic(LocalCouldBeConstAnalyzer.
LocalCouldBeConstDescriptor
.Id, "e").WithLocation(13, 13),
553
Diagnostic(LocalCouldBeConstAnalyzer.
LocalCouldBeConstDescriptor
.Id, "s").WithLocation(14, 16));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\LocalCouldBeConstAnalyzer.cs (2)
31
get { return ImmutableArray.Create(
LocalCouldBeConstDescriptor
); }
107
Report(operationBlockEndContext, couldBeConstLocal,
LocalCouldBeConstDescriptor
);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Diagnostics\OperationAnalyzerTests.vb (2)
483
Diagnostic(LocalCouldBeConstAnalyzer.
LocalCouldBeConstDescriptor
.Id, "e").WithLocation(10, 13),
484
Diagnostic(LocalCouldBeConstAnalyzer.
LocalCouldBeConstDescriptor
.Id, "s").WithLocation(11, 13))