105 references to WRN_LowerCaseTypeName
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
213
case ErrorCode.
WRN_LowerCaseTypeName
:
2178
case ErrorCode.
WRN_LowerCaseTypeName
:
Generated\ErrorFacts.Generated.cs (1)
283
case ErrorCode.
WRN_LowerCaseTypeName
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
492
diagnostics.Add(ErrorCode.
WRN_LowerCaseTypeName
, location, name);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenRefLocalTests.cs (1)
3288
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(2, 7)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (6)
Attributes\AttributeTests_WellKnownAttributes.cs (6)
13886
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(6, 14)
13908
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(2, 7),
13952
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "unmanaged").WithArguments("unmanaged").WithLocation(12, 14),
13955
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "notnull").WithArguments("notnull").WithLocation(17, 14)
13989
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "unmanaged").WithArguments("unmanaged").WithLocation(2, 7),
13992
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "notnull").WithArguments("notnull").WithLocation(3, 7),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (31)
Semantics\FunctionPointerTests.cs (2)
42
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "s").WithArguments("s").WithLocation(2, 7),
54
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "s").WithArguments("s").WithLocation(2, 7),
Semantics\LambdaTests.cs (1)
5768
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "var").WithArguments("var").WithLocation(2, 7),
Semantics\LocalFunctionTests.cs (8)
7111
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(7, 17),
7114
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(8, 24),
7120
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(12, 23),
7126
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(13, 30),
7129
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(17, 17),
7132
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(18, 24),
7138
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(22, 23),
7144
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "await").WithArguments("await").WithLocation(23, 30));
Semantics\NativeIntegerTests.cs (6)
3840
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7));
3849
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7));
3858
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7));
3883
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7),
3892
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7),
3901
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(2, 7),
Semantics\NullableReferenceTypesTests.cs (1)
102038
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "notnull").WithArguments("notnull").WithLocation(5, 12),
Semantics\RecordStructTests.cs (7)
11243
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 8)
11269
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 7)
11295
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 8)
11321
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(1, 7)
11350
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(3, 8)
11379
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(3, 8)
11408
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(3, 7)
Semantics\RecordTests.cs (1)
2820
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "record").WithArguments("record").WithLocation(2, 7)
Semantics\RefFieldTests.cs (5)
21659
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped")
21715
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(1, 9),
21718
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(9, 20),
21721
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(21, 12)
21751
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "scoped").WithArguments("scoped").WithLocation(1, 7)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (28)
Compilation\CompilationAPITests.cs (1)
1909
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "alias").WithArguments("alias").WithLocation(2, 7),
Symbols\RequiredMembersTests.cs (8)
339
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(4, 12),
342
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(8, 11),
345
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(12, 15),
348
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(16, 19),
351
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(20, 12),
354
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(24, 19),
357
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(30, 15),
360
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "required").WithArguments("required").WithLocation(35, 11)
Symbols\SymbolErrorTests.cs (19)
15034
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "ns").WithArguments("ns").WithLocation(13, 11),
15037
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "ns").WithArguments("ns").WithLocation(14, 11),
21204
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(2, 7),
21207
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "nint").WithArguments("nint").WithLocation(8, 11),
21210
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "three").WithArguments("three").WithLocation(13, 16),
21213
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "four").WithArguments("four").WithLocation(16, 19),
21216
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "four").WithArguments("four").WithLocation(17, 19),
21219
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "five").WithArguments("five").WithLocation(20, 15),
21222
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "seven").WithArguments("seven").WithLocation(25, 15),
21225
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "eight").WithArguments("eight").WithLocation(27, 6)
21277
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(2, 10),
21280
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(7, 18),
21283
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(14, 13),
21286
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(26, 21)
21316
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "one").WithArguments("one").WithLocation(2, 7),
21325
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "three").WithArguments("three").WithLocation(4, 7),
21383
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "a").WithArguments("a").WithLocation(2, 7),
21386
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "z").WithArguments("z").WithLocation(3, 7),
21389
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "abcdefghijklmnopqrstuvwxyz").WithArguments("abcdefghijklmnopqrstuvwxyz").WithLocation(5, 7)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (35)
Diagnostics\DiagnosticTest.cs (1)
439
case ErrorCode.
WRN_LowerCaseTypeName
:
Parsing\AsyncParsingTests.cs (3)
2397
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "async").WithArguments("async").WithLocation(1, 7),
2484
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "async").WithArguments("async").WithLocation(1, 11),
2603
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)
1500
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "file").WithArguments("file").WithLocation(1, 7)
1562
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)
4722
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "goo").WithArguments("goo").WithLocation(2, 7),
5932
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "global").WithArguments("global").WithLocation(2, 7),
Parsing\ParsingErrorRecoveryTests.cs (6)
1882
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
1991
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
2085
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
3927
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
5452
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
5567
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "c").WithArguments("c").WithLocation(1, 7),
Parsing\UsingDirectiveParsingTests.cs (16)
369
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14),
621
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
675
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14));
725
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
787
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14));
917
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
957
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
994
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
1031
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
1075
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
1120
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
1164
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 14));
1601
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
1863
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7));
1904
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "x").WithArguments("x").WithLocation(1, 7),
3005
Diagnostic(ErrorCode.
WRN_LowerCaseTypeName
, "dynamic").WithArguments("dynamic").WithLocation(4, 7),
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),