16 references to WRN_UseDefViolationThisSupportedVersion
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (2)
515case ErrorCode.WRN_UseDefViolationThisSupportedVersion: 2264or ErrorCode.WRN_UseDefViolationThisSupportedVersion
Errors\MessageProvider.cs (1)
113or ErrorCode.WRN_UseDefViolationThisSupportedVersion
FlowAnalysis\DefiniteAssignment.cs (1)
1247Diagnostics.Add(ErrorCode.WRN_UseDefViolationThisSupportedVersion, node.Location);
Generated\ErrorFacts.Generated.cs (1)
287case ErrorCode.WRN_UseDefViolationThisSupportedVersion:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
FieldKeywordTests.cs (8)
4193Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P2").WithLocation(10, 33), 4202Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P4").WithLocation(20, 33), 4211Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P6").WithLocation(30, 33)); 4356Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P2").WithLocation(12, 33)); 4470Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P4").WithLocation(20, 24), 4473Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P5").WithLocation(25, 24), 4476Diagnostic(ErrorCode.WRN_UseDefViolationThisSupportedVersion, "P7").WithLocation(35, 24)); 4616Diagnostic(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)
2958KeyValuePair.Create(GetIdForErrorCode(ErrorCode.WRN_UseDefViolationThisSupportedVersion), ReportDiagnostic.Warn),