13 references to WRN_UseDefViolationPropertySupportedVersion
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (2)
514case ErrorCode.WRN_UseDefViolationPropertySupportedVersion: 2264or ErrorCode.WRN_UseDefViolationPropertySupportedVersion
Errors\MessageProvider.cs (1)
111ErrorCode.WRN_UseDefViolationPropertySupportedVersion
FlowAnalysis\DefiniteAssignment.cs (1)
1349hasAssociatedProperty ? ErrorCode.WRN_UseDefViolationPropertySupportedVersion : ErrorCode.WRN_UseDefViolationFieldSupportedVersion,
Generated\ErrorFacts.Generated.cs (1)
286case ErrorCode.WRN_UseDefViolationPropertySupportedVersion:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
FieldKeywordTests.cs (4)
4065Diagnostic(ErrorCode.WRN_UseDefViolationPropertySupportedVersion, "P1").WithArguments("P1").WithLocation(5, 33), 4074Diagnostic(ErrorCode.WRN_UseDefViolationPropertySupportedVersion, "P3").WithArguments("P3").WithLocation(15, 33), 4083Diagnostic(ErrorCode.WRN_UseDefViolationPropertySupportedVersion, "P5").WithArguments("P5").WithLocation(25, 33), 4225Diagnostic(ErrorCode.WRN_UseDefViolationPropertySupportedVersion, "P1").WithArguments("P1").WithLocation(6, 33),
FlowAnalysis\FlowDiagnosticTests.cs (1)
1483Diagnostic(ErrorCode.WRN_UseDefViolationPropertySupportedVersion, "x2").WithArguments("x2").WithLocation(17, 34));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\WarningVersionTests.cs (1)
484Diagnostic(ErrorCode.WRN_UseDefViolationPropertySupportedVersion, "Property").WithArguments("Property").WithLocation(6, 21));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
408case ErrorCode.WRN_UseDefViolationPropertySupportedVersion:
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
2891KeyValuePair.Create(GetIdForErrorCode(ErrorCode.WRN_UseDefViolationPropertySupportedVersion), ReportDiagnostic.Warn),