119 references to WRN_LowerCaseTypeName
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
231
case ErrorCode.
WRN_LowerCaseTypeName
:
2241
or ErrorCode.
WRN_LowerCaseTypeName
Generated\ErrorFacts.Generated.cs (1)
282
case ErrorCode.
WRN_LowerCaseTypeName
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
526
diagnostics.Add(ErrorCode.
WRN_LowerCaseTypeName
, location, name);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenRefLocalTests.cs (1)
4073
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(2, 7)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (15)
Attributes\AttributeTests_WellKnownAttributes.cs (6)
14102
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(6, 14)
14124
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(2, 7),
14168
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "unmanaged").WithArguments("unmanaged").WithLocation(12, 14),
14171
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "notnull").WithArguments("notnull").WithLocation(17, 14)
14205
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "unmanaged").WithArguments("unmanaged").WithLocation(2, 7),
14208
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "notnull").WithArguments("notnull").WithLocation(3, 7),
RefReadonlyParameterTests.cs (2)
2259
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(1, 8),
2296
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(1, 8),
Semantics\ExtensionTests.cs (6)
30542
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "value").WithArguments("value").WithLocation(4, 15),
30567
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "value").WithArguments("value").WithLocation(4, 15),
31631
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "ts").WithArguments("ts").WithLocation(11, 27),
45160
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "extension").WithArguments("extension").WithLocation(1, 7),
45163
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "extension").WithArguments("extension").WithLocation(2, 7),
45166
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "extension").WithArguments("extension").WithLocation(3, 9));
Semantics\RecordTests.cs (1)
2875
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(2, 7)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (31)
Semantics\FunctionPointerTests.cs (2)
65
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "s").WithArguments("s").WithLocation(2, 7),
77
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "s").WithArguments("s").WithLocation(2, 7),
Semantics\LambdaTests.cs (2)
5797
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(2, 7),
9004
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(3, 7));
Semantics\LocalFunctionTests.cs (8)
7541
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(7, 17),
7544
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(8, 24),
7550
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(12, 23),
7556
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(13, 30),
7559
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(17, 17),
7562
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(18, 24),
7568
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(22, 23),
7574
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(23, 30));
Semantics\NativeIntegerTests.cs (6)
3845
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7));
3854
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7));
3863
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7));
3888
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7),
3897
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7),
3906
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7),
Semantics\NullableReferenceTypesTests.cs (1)
105880
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "notnull").WithArguments("notnull").WithLocation(5, 12),
Semantics\RecordStructTests.cs (7)
11310
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 8)
11336
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 7)
11362
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 8)
11388
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 7)
11417
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(3, 8)
11446
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(3, 8)
11475
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(3, 7)
Semantics\RefFieldTests.cs (5)
22231
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped")
22287
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(1, 9),
22290
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(9, 20),
22293
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(21, 12)
22323
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(1, 7)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (28)
Compilation\CompilationAPITests.cs (1)
1907
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "alias").WithArguments("alias").WithLocation(2, 7),
Symbols\RequiredMembersTests.cs (8)
323
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(4, 12),
326
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(8, 11),
329
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(12, 15),
332
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(16, 19),
335
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(20, 12),
338
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(24, 19),
341
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(30, 15),
344
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(35, 11)
Symbols\SymbolErrorTests.cs (19)
15222
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "ns").WithArguments("ns").WithLocation(13, 11),
15225
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "ns").WithArguments("ns").WithLocation(14, 11),
21402
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(2, 7),
21405
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(8, 11),
21408
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "three").WithArguments("three").WithLocation(13, 16),
21411
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "four").WithArguments("four").WithLocation(16, 19),
21414
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "four").WithArguments("four").WithLocation(17, 19),
21417
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "five").WithArguments("five").WithLocation(20, 15),
21420
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "seven").WithArguments("seven").WithLocation(25, 15),
21423
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "eight").WithArguments("eight").WithLocation(27, 6)
21475
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(2, 10),
21478
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(7, 18),
21481
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(14, 13),
21484
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(26, 21)
21514
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(2, 7),
21523
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "three").WithArguments("three").WithLocation(4, 7),
21581
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "a").WithArguments("a").WithLocation(2, 7),
21584
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "z").WithArguments("z").WithLocation(3, 7),
21587
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "abcdefghijklmnopqrstuvwxyz").WithArguments("abcdefghijklmnopqrstuvwxyz").WithLocation(5, 7)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (40)
Diagnostics\DiagnosticTest.cs (1)
467
case ErrorCode.
WRN_LowerCaseTypeName
:
Parsing\AsyncParsingTests.cs (3)
2377
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "async").WithArguments("async").WithLocation(1, 7),
2464
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "async").WithArguments("async").WithLocation(1, 11),
2583
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "async").WithArguments("async").WithLocation(1, 7),
Parsing\DeclarationParsingTests.cs (2)
1185
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "a").WithArguments("a").WithLocation(1, 7),
1199
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "a").WithArguments("a").WithLocation(1, 7),
Parsing\FileModifierParsingTests.cs (2)
1512
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "file").WithArguments("file").WithLocation(1, 7)
1574
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "file").WithArguments("file").WithLocation(1, 15),
Parsing\LocalFunctionParsingTests.cs (1)
1307
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(2, 7),
Parsing\ParserErrorMessageTests.cs (2)
4654
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "goo").WithArguments("goo").WithLocation(2, 7),
5820
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "global").WithArguments("global").WithLocation(2, 7),
Parsing\ParsingErrorRecoveryTests.cs (7)
2044
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
2153
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
2247
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
4089
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
4113
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
6280
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
6395
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
Parsing\UsingDirectiveParsingTests.cs (19)
359
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14),
611
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
622
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
676
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14));
726
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
737
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
799
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14));
889
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
929
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
966
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
1003
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
1047
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
1092
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
1103
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
1147
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14));
1608
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
1870
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
1911
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
3016
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "dynamic").WithArguments("dynamic").WithLocation(4, 7),
Syntax\FieldAndValueKeywordTests.cs (1)
1279
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "field").WithArguments("field").WithLocation(1, 10));
Syntax\SyntaxTreeTests.cs (2)
667
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "alias").WithArguments("alias").WithLocation(1, 14),
758
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "alias").WithArguments("alias").WithLocation(1, 29),