91 references to WRN_UnreadPrimaryConstructorParameter
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
532
case ErrorCode.
WRN_UnreadPrimaryConstructorParameter
:
2296
case ErrorCode.
WRN_UnreadPrimaryConstructorParameter
:
FlowAnalysis\DefiniteAssignment.cs (1)
1826
ErrorCode.
WRN_UnreadPrimaryConstructorParameter
,
Generated\ErrorFacts.Generated.cs (1)
316
case ErrorCode.
WRN_UnreadPrimaryConstructorParameter
:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenTupleTest.cs (2)
13335
#pragma warning disable CS" + ((int)ErrorCode.
WRN_UnreadPrimaryConstructorParameter
).ToString() + @" // Parameter is unread.
13366
#pragma warning disable CS" + ((int)ErrorCode.
WRN_UnreadPrimaryConstructorParameter
).ToString() + @" // Parameter is unread.
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (74)
Semantics\PrimaryConstructorTests.cs (56)
47
return ((int)ErrorCode.
WRN_UnreadPrimaryConstructorParameter
).ToString();
396
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(1, 14),
399
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(1, 24)
2733
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "P2").WithArguments("P2").WithLocation(17, 19),
2736
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "P3").WithArguments("P3").WithLocation(19, 19),
2739
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "P4").WithArguments("P4").WithLocation(28, 17)
7245
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(1000, 1)
7348
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(1000, 1)
7689
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(4, 15)
8355
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(5, 24)
8411
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(5, 15),
8414
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p2").WithArguments("p2").WithLocation(5, 33),
8417
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "global").WithArguments("global").WithLocation(5, 48),
8420
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "C2").WithArguments("C2").WithLocation(5, 64)
8869
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(1000, 15)
8929
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "_").WithArguments("_").WithLocation(2, 15)
8982
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(2, 15)
9176
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(6, 28)
9211
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(6, 28)
9254
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(6, 28)
9861
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17)
9905
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17)
10035
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17)
10077
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17)
10122
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17)
10157
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17)
10184
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17),
10222
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17)
10249
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17),
10287
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17)
10428
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 16)
10503
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(6, 28),
10546
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(6, 28)
10589
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(6, 28)
10774
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(6, 24)
10820
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(7, 18),
11021
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(2, 15),
11024
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "P2").WithArguments("P2").WithLocation(7, 26)
11047
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(2, 15),
11053
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "P2").WithArguments("P2").WithLocation(7, 18),
11141
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Color").WithArguments("Color").WithLocation(2, 17)
12045
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(2, 22),
12048
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "s").WithArguments("s").WithLocation(2, 27)
12072
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(7, 21),
12075
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "s").WithArguments("s").WithLocation(7, 26)
12177
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(2, 22),
12180
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "s").WithArguments("s").WithLocation(2, 27)
12215
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(7, 21),
12218
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "s").WithArguments("s").WithLocation(7, 26)
13650
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(2, 35)
14052
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(2, 33)
15047
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(2, 15)
15077
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(2, 15)
15370
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p1").WithArguments("p1").WithLocation(9, 14),
15373
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "p2").WithArguments("p2").WithLocation(9, 22)
15403
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "X").WithArguments("X").WithLocation(2, 13),
Semantics\RecordStructTests.cs (8)
258
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(2, 18),
261
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(2, 25)
283
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(2, 18),
286
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(2, 25)
330
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(4, 22),
333
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(4, 29)
358
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(4, 22),
361
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(4, 29)
Semantics\RecordTests.cs (10)
58
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(2, 17),
61
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(2, 24)
98
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(2, 17),
101
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(2, 24)
151
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(4, 21),
154
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(4, 28)
181
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(4, 21),
184
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(4, 28)
222
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(2, 24),
225
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(2, 31)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\Source\RecordTests.cs (4)
1233
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "X").WithArguments("X").WithLocation(3, 19),
1236
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Y").WithArguments("Y").WithLocation(3, 26),
1239
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "X").WithArguments("X").WithLocation(5, 20),
1242
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Y").WithArguments("Y").WithLocation(5, 27),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
Diagnostics\DiagnosticTest.cs (1)
306
case ErrorCode.
WRN_UnreadPrimaryConstructorParameter
:
Parsing\RecordParsing.cs (4)
2612
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "X").WithArguments("X").WithLocation(1, 21),
2615
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Y").WithArguments("Y").WithLocation(1, 28)
2798
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "X").WithArguments("X").WithLocation(1, 20),
2801
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "Y").WithArguments("Y").WithLocation(1, 27)
Parsing\TopLevelStatementsParsingTests.cs (2)
3208
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "x").WithArguments("x").WithLocation(2, 24),
3211
Diagnostic(ErrorCode.
WRN_UnreadPrimaryConstructorParameter
, "y").WithArguments("y").WithLocation(2, 31)