共用方式為


CSharpCompilation.LanguageVersion Property

Definition

The language version that was used to parse the syntax trees of this compilation.

public:
 property Microsoft::CodeAnalysis::CSharp::LanguageVersion LanguageVersion { Microsoft::CodeAnalysis::CSharp::LanguageVersion get(); };
public Microsoft.CodeAnalysis.CSharp.LanguageVersion LanguageVersion { get; }
member this.LanguageVersion : Microsoft.CodeAnalysis.CSharp.LanguageVersion
Public ReadOnly Property LanguageVersion As LanguageVersion

Property Value

Applies to