CSharpParseOptions.WithLanguageVersion(LanguageVersion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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