CSharpParseOptions.WithLanguageVersion(LanguageVersion) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::CSharpParseOptions ^ WithLanguageVersion(Microsoft::CodeAnalysis::CSharp::LanguageVersion version);
public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions WithLanguageVersion (Microsoft.CodeAnalysis.CSharp.LanguageVersion version);
member this.WithLanguageVersion : Microsoft.CodeAnalysis.CSharp.LanguageVersion -> Microsoft.CodeAnalysis.CSharp.CSharpParseOptions
Public Function WithLanguageVersion (version As LanguageVersion) As CSharpParseOptions

Parameters

version
LanguageVersion

Returns

Applies to