17 references to WRN_UseDefViolationRefField
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
563case ErrorCode.WRN_UseDefViolationRefField: 2420or ErrorCode.WRN_UseDefViolationRefField
FlowAnalysis\DefiniteAssignment.cs (1)
1341ErrorCode.WRN_UseDefViolationRefField,
Generated\ErrorFacts.Generated.cs (1)
336case ErrorCode.WRN_UseDefViolationRefField:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
FlowAnalysis\RegionAnalysisTests.cs (1)
14117Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "ri").WithArguments("ri").WithLocation(4, 20));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\RefFieldTests.cs (11)
5283Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "_t").WithArguments("_t").WithLocation(4, 25)); 5534Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "F").WithArguments("F").WithLocation(6, 9)); 6004Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "F").WithArguments("F").WithLocation(7, 9)); 6045Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "F").WithArguments("F").WithLocation(7, 9), 6101Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "F").WithArguments("F").WithLocation(7, 9)); 6142Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "F").WithArguments("F").WithLocation(7, 9), 30958Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "ri").WithArguments("ri").WithLocation(15, 20)); 31015Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "ri").WithArguments("ri").WithLocation(17, 21)); 31080Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "ri").WithArguments("ri").WithLocation(20, 29), 31083Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "ri").WithArguments("ri").WithLocation(25, 29)); 31161Diagnostic(ErrorCode.WRN_UseDefViolationRefField, "ri").WithArguments("ri").WithLocation(4, 20));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
433case ErrorCode.WRN_UseDefViolationRefField: