10 references to DoNotUseLargeListOfArrayInitializersDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Diagnostics\OperationAnalyzerTests.cs (8)
980
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{ 1, 2, 3, 4, 5, 6 }").WithLocation(14, 32),
981
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{ 1, 2, 3, 4, 5, 6 }").WithLocation(15, 23),
982
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{ null, null, null, null, null, null }").WithLocation(16, 28),
983
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{ 1, 2, 3, 4, 5, 6 }").WithLocation(18, 37),
984
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{ 1, 2, 3, 4, 5, 6 }").WithLocation(20, 27),
985
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{ 7, 8, 9, 10, 11, 12 }").WithLocation(21, 27),
986
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{ null, null, null, null, null, null }").WithLocation(24, 33),
987
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{ 1, 2, 3, 4, 5, 6 }").WithLocation(28, 66)
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\OperationTestAnalyzer.cs (2)
786
get { return ImmutableArray.Create(
DoNotUseLargeListOfArrayInitializersDescriptor
); }
797
Report(operationContext, initializer.Syntax,
DoNotUseLargeListOfArrayInitializersDescriptor
);