6 references to ReferencesNewerCompiler
Microsoft.CodeAnalysis (4)
CommandLine\CommandLineArguments.cs (1)
502
case AnalyzerLoadFailureEventArgs.FailureErrorCode.
ReferencesNewerCompiler
:
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
568
_reference.AnalyzerLoadFailed?.Invoke(_reference, new AnalyzerLoadFailureEventArgs(AnalyzerLoadFailureEventArgs.FailureErrorCode.
ReferencesNewerCompiler
, message: "") { ReferencedCompilerVersion = referencedAssemblyName.Version });
DiagnosticAnalyzer\AnalyzerLoadFailureEventArgs.cs (2)
42
/// If <see cref="ErrorCode"/> is <see cref="FailureErrorCode.
ReferencesNewerCompiler
"/>, returns the compiler version referenced by the analyzer assembly. Otherwise, returns null.
48
if (errorCode <= FailureErrorCode.None || errorCode > FailureErrorCode.
ReferencesNewerCompiler
)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
104
case AnalyzerLoadFailureEventArgs.FailureErrorCode.
ReferencesNewerCompiler
:
Microsoft.CodeAnalysis.UnitTests (1)
Analyzers\AnalyzerFileReferenceTests.cs (1)
293
Assert.Equal(AnalyzerLoadFailureEventArgs.FailureErrorCode.
ReferencesNewerCompiler
, error.ErrorCode);