12 references to WRN_UseDefViolationFieldSupportedVersion
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (2)
515case ErrorCode.WRN_UseDefViolationFieldSupportedVersion: 2265or ErrorCode.WRN_UseDefViolationFieldSupportedVersion
Errors\MessageProvider.cs (1)
112or ErrorCode.WRN_UseDefViolationFieldSupportedVersion
FlowAnalysis\DefiniteAssignment.cs (1)
1349hasAssociatedProperty ? ErrorCode.WRN_UseDefViolationPropertySupportedVersion : ErrorCode.WRN_UseDefViolationFieldSupportedVersion,
Generated\ErrorFacts.Generated.cs (1)
287case ErrorCode.WRN_UseDefViolationFieldSupportedVersion:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
FlowAnalysis\FlowDiagnosticTests.cs (1)
1480Diagnostic(ErrorCode.WRN_UseDefViolationFieldSupportedVersion, "x.i").WithArguments("i").WithLocation(16, 9),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\StructConstructorTests.cs (3)
4071Diagnostic(ErrorCode.WRN_UseDefViolationFieldSupportedVersion, "E").WithArguments("E").WithLocation(9, 9)); 4450Diagnostic(ErrorCode.WRN_UseDefViolationFieldSupportedVersion, "X").WithArguments("X").WithLocation(8, 9)); 4493Diagnostic(ErrorCode.WRN_UseDefViolationFieldSupportedVersion, "X").WithArguments("X").WithLocation(7, 12));
Semantics\WarningVersionTests.cs (1)
571Diagnostic(ErrorCode.WRN_UseDefViolationFieldSupportedVersion, "Field").WithArguments("Field").WithLocation(6, 21));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
409case ErrorCode.WRN_UseDefViolationFieldSupportedVersion:
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
2892KeyValuePair.Create(GetIdForErrorCode(ErrorCode.WRN_UseDefViolationFieldSupportedVersion), ReportDiagnostic.Warn),