115 references to WRN_LowerCaseTypeName
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
226
case ErrorCode.
WRN_LowerCaseTypeName
:
2235
or ErrorCode.
WRN_LowerCaseTypeName
Generated\ErrorFacts.Generated.cs (1)
283
case ErrorCode.
WRN_LowerCaseTypeName
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
515
diagnostics.Add(ErrorCode.
WRN_LowerCaseTypeName
, location, name);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenRefLocalTests.cs (1)
4064
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(2, 7)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (15)
Attributes\AttributeTests_WellKnownAttributes.cs (6)
14062
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(6, 14)
14084
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(2, 7),
14128
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "unmanaged").WithArguments("unmanaged").WithLocation(12, 14),
14131
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "notnull").WithArguments("notnull").WithLocation(17, 14)
14165
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "unmanaged").WithArguments("unmanaged").WithLocation(2, 7),
14168
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "notnull").WithArguments("notnull").WithLocation(3, 7),
RefReadonlyParameterTests.cs (2)
2250
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(1, 8),
2287
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(1, 8),
Semantics\ExtensionTests.cs (6)
25742
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "value").WithArguments("value").WithLocation(4, 15),
25767
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "value").WithArguments("value").WithLocation(4, 15),
26831
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "ts").WithArguments("ts").WithLocation(11, 27),
38848
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "extension").WithArguments("extension").WithLocation(1, 7),
38851
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "extension").WithArguments("extension").WithLocation(2, 7),
38854
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)
64
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "s").WithArguments("s").WithLocation(2, 7),
76
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "s").WithArguments("s").WithLocation(2, 7),
Semantics\LambdaTests.cs (2)
5804
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(2, 7),
8674
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(3, 7));
Semantics\LocalFunctionTests.cs (8)
7195
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(7, 17),
7198
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(8, 24),
7204
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(12, 23),
7210
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(13, 30),
7213
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(17, 17),
7216
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(18, 24),
7222
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(22, 23),
7228
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)
105808
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "notnull").WithArguments("notnull").WithLocation(5, 12),
Semantics\RecordStructTests.cs (7)
11313
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 8)
11339
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 7)
11365
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 8)
11391
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 7)
11420
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(3, 8)
11449
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(3, 8)
11478
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(3, 7)
Semantics\RefFieldTests.cs (5)
22253
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped")
22309
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(1, 9),
22312
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(9, 20),
22315
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(21, 12)
22345
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)
15182
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "ns").WithArguments("ns").WithLocation(13, 11),
15185
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "ns").WithArguments("ns").WithLocation(14, 11),
21362
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(2, 7),
21365
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(8, 11),
21368
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "three").WithArguments("three").WithLocation(13, 16),
21371
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "four").WithArguments("four").WithLocation(16, 19),
21374
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "four").WithArguments("four").WithLocation(17, 19),
21377
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "five").WithArguments("five").WithLocation(20, 15),
21380
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "seven").WithArguments("seven").WithLocation(25, 15),
21383
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "eight").WithArguments("eight").WithLocation(27, 6)
21435
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(2, 10),
21438
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(7, 18),
21441
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(14, 13),
21444
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(26, 21)
21474
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(2, 7),
21483
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "three").WithArguments("three").WithLocation(4, 7),
21541
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "a").WithArguments("a").WithLocation(2, 7),
21544
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "z").WithArguments("z").WithLocation(3, 7),
21547
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "abcdefghijklmnopqrstuvwxyz").WithArguments("abcdefghijklmnopqrstuvwxyz").WithLocation(5, 7)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (36)
Diagnostics\DiagnosticTest.cs (1)
468
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)
1501
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "file").WithArguments("file").WithLocation(1, 7)
1563
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)
4618
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "goo").WithArguments("goo").WithLocation(2, 7),
5771
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "global").WithArguments("global").WithLocation(2, 7),
Parsing\ParsingErrorRecoveryTests.cs (6)
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),
6256
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
6371
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
Parsing\UsingDirectiveParsingTests.cs (16)
359
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14),
611
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
665
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14));
715
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
777
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14));
867
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
907
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
944
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
981
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
1025
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
1070
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
1114
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14));
1551
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
1813
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
1854
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
2955
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "dynamic").WithArguments("dynamic").WithLocation(4, 7),
Syntax\FieldAndValueKeywordTests.cs (1)
1276
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),