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)
4068Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P2").WithLocation(10, 33), 4077Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P4").WithLocation(20, 33), 4086Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P6").WithLocation(30, 33)); 4231Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P2").WithLocation(12, 33)); 4345Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P4").WithLocation(20, 24), 4348Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P5").WithLocation(25, 24), 4351Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P7").WithLocation(35, 24)); 4491Diagnostic(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)
2893KeyValuePair.Create(GetIdForErrorCode(ErrorCode.WRN_UseDefViolationThisSupportedVersion), ReportDiagnostic.Warn),