AnalyzerLoadFailureEventArgs.ReferencedCompilerVersion Property

Definition

If ErrorCode is ReferencesNewerCompiler, returns the compiler version referenced by the analyzer assembly. Otherwise, returns null.

C#
public Version? ReferencedCompilerVersion { get; }

Property Value

Applies to

Product Versions
Roslyn 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.12.2, 4.13.0