7 references to ERR_UseDefViolationProperty
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1706
or ErrorCode.
ERR_UseDefViolationProperty
FlowAnalysis\DefiniteAssignment.cs (3)
612
ErrorCode.
ERR_UseDefViolationProperty
=> ErrorCode.WRN_UseDefViolationProperty,
1314
Diagnostics.Add(hasAssociatedProperty ? ErrorCode.
ERR_UseDefViolationProperty
: ErrorCode.ERR_UseDefViolationField, node.Location, symbolName);
1324
Diagnostics.Add(hasAssociatedProperty ? ErrorCode.
ERR_UseDefViolationProperty
: ErrorCode.ERR_UseDefViolationField, node.Location, symbolName);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
FlowAnalysis\LocalFunctions.cs (3)
912
Diagnostic(ErrorCode.
ERR_UseDefViolationProperty
, "Local1()").WithArguments("y").WithLocation(19, 9),
915
Diagnostic(ErrorCode.
ERR_UseDefViolationProperty
, "Local2()").WithArguments("y").WithLocation(28, 9),
924
Diagnostic(ErrorCode.
ERR_UseDefViolationProperty
, "Local()").WithArguments("y").WithLocation(61, 9),