17 references to WRN_UseDefViolation
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
233
case ErrorCode.
WRN_UseDefViolation
:
2086
case ErrorCode.
WRN_UseDefViolation
:
FlowAnalysis\DefiniteAssignment.cs (1)
588
ErrorCode.ERR_UseDefViolation => ErrorCode.
WRN_UseDefViolation
,
Generated\ErrorFacts.Generated.cs (1)
267
case ErrorCode.
WRN_UseDefViolation
:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (7)
FlowAnalysis\StructTests.cs (7)
254
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "r1").WithArguments("r1").WithLocation(6, 18),
264
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "r1").WithArguments("r1").WithLocation(6, 18),
346
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "r1").WithArguments("r1").WithLocation(6, 18)
351
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "r1").WithArguments("r1").WithLocation(6, 18)
391
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "r1").WithArguments("r1").WithLocation(6, 18)
396
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "r1").WithArguments("r1").WithLocation(6, 18)
509
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "r1").WithArguments("r1").WithLocation(6, 18)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\WarningVersionTests.cs (4)
339
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "s").WithArguments("s").WithLocation(7, 9));
352
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "s").WithArguments("s").WithLocation(7, 9));
369
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "s").WithArguments("s").WithLocation(7, 9));
718
Diagnostic(ErrorCode.
WRN_UseDefViolation
, "r1").WithArguments("r1").WithLocation(6, 18)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
428
case ErrorCode.
WRN_UseDefViolation
:
498
ErrorCode.
WRN_UseDefViolation
,