6 references to ReferencesNewerCompiler
Microsoft.CodeAnalysis (4)
CommandLine\CommandLineArguments.cs (1)
502case 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. 48if (errorCode <= FailureErrorCode.None || errorCode > FailureErrorCode.ReferencesNewerCompiler)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
103case AnalyzerLoadFailureEventArgs.FailureErrorCode.ReferencesNewerCompiler:
Microsoft.CodeAnalysis.UnitTests (1)
Analyzers\AnalyzerFileReferenceTests.cs (1)
293Assert.Equal(AnalyzerLoadFailureEventArgs.FailureErrorCode.ReferencesNewerCompiler, error.ErrorCode);