16 references to WRN_UseDefViolationThisSupportedVersion
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (2)
516case ErrorCode.WRN_UseDefViolationThisSupportedVersion: 2266or ErrorCode.WRN_UseDefViolationThisSupportedVersion
Errors\MessageProvider.cs (1)
113or ErrorCode.WRN_UseDefViolationThisSupportedVersion
FlowAnalysis\DefiniteAssignment.cs (1)
1296Diagnostics.Add(ErrorCode.WRN_UseDefViolationThisSupportedVersion, node.Location);
Generated\ErrorFacts.Generated.cs (1)
288case ErrorCode.WRN_UseDefViolationThisSupportedVersion:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
FieldKeywordTests.cs (8)
4069Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P2").WithLocation(10, 33), 4078Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P4").WithLocation(20, 33), 4087Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P6").WithLocation(30, 33)); 4232Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P2").WithLocation(12, 33)); 4346Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P4").WithLocation(20, 24), 4349Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P5").WithLocation(25, 24), 4352Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P7").WithLocation(35, 24)); 4492Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P4").WithLocation(12, 24));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\WarningVersionTests.cs (1)
658Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "this").WithLocation(6, 22));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
410case ErrorCode.WRN_UseDefViolationThisSupportedVersion:
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
2932KeyValuePair.Create(GetIdForErrorCode(ErrorCode.WRN_UseDefViolationThisSupportedVersion), ReportDiagnostic.Warn),