19 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
);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (9)
Diagnostics\OperationAnalyzerTests.vb (9)
911
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{1, 2, 3, 4, 5, 6}").WithLocation(11, 34),
912
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{1, 2, 3, 4, 5, 6}").WithLocation(12, 20),
913
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}").WithLocation(13, 27),
914
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{1, 2, 3, 4, 5, 6}").WithLocation(15, 36),
915
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{1, 2, 3, 4, 5, 6}").WithLocation(16, 37),
916
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{7, 8, 9, 10, 11, 12}").WithLocation(17, 37),
917
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}").WithLocation(18, 30),
918
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}").WithLocation(19, 29),
919
Diagnostic(ArrayInitializerTestAnalyzer.
DoNotUseLargeListOfArrayInitializersDescriptor
.Id, "{1, 2, 3, 4, 5, 6}").WithLocation(24, 25))