34 references to WRN_DefaultValueForUnconsumedLocation
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (2)
333
case ErrorCode.
WRN_DefaultValueForUnconsumedLocation
:
1124
case ErrorCode.
WRN_DefaultValueForUnconsumedLocation
:
Generated\ErrorFacts.Generated.cs (1)
70
case ErrorCode.
WRN_DefaultValueForUnconsumedLocation
:
Symbols\Source\ParameterHelpers.cs (1)
823
diagnostics.Add(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
,
Symbols\Source\SourcePropertySymbol.cs (1)
518
diagnostics.Add(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, paramNameToken.GetLocation(), paramNameToken.ValueText);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (7)
CodeGen\CodeGenExplicitImplementationTests.cs (7)
450
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "b").WithArguments("b"),
453
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "c").WithArguments("c"),
456
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "c").WithArguments("c"),
459
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "a").WithArguments("a"),
462
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "b").WithArguments("b"),
465
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "c").WithArguments("c"),
468
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "d").WithArguments("d"));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\BindingTests.cs (2)
1910
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "o").WithArguments("o"),
1913
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "o").WithArguments("o")
Semantics\InheritanceBindingTests.cs (8)
6818
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "b").WithArguments("b"),
6821
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "b").WithArguments("b"),
6824
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "c").WithArguments("c"),
6827
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "c").WithArguments("c"),
6842
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "b").WithArguments("b"),
6845
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "c").WithArguments("c"));
7146
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "a").WithArguments("a"),
7237
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "a").WithArguments("a"),
Semantics\NullableContextTests.cs (2)
1522
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "y").WithArguments("y").WithLocation(5, 28),
1528
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "x").WithArguments("x").WithLocation(7, 28));
Semantics\NullableReferenceTypesTests.cs (2)
78263
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "x").WithArguments("x").WithLocation(6, 34),
78269
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "y").WithArguments("y").WithLocation(6, 52),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Symbols\SymbolErrorTests.cs (7)
18565
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "x").WithLocation(7, 23).WithArguments("x"));
18586
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "index").WithArguments("index"),
18588
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "index").WithArguments("index"),
18590
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "c").WithArguments("c"),
18592
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "d").WithArguments("d"));
18609
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "c").WithArguments("c"),
18612
Diagnostic(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
, "c").WithArguments("c")
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
237
Assert.Equal(1, ErrorFacts.GetWarningLevel(ErrorCode.
WRN_DefaultValueForUnconsumedLocation
));