Partilhar via


LanguageVersionFacts.MapSpecifiedToEffectiveVersion(LanguageVersion) Method

Definition

Map a language version (such as Default, Latest, or CSharpN) to a specific version (CSharpM).

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::CSharp::LanguageVersion MapSpecifiedToEffectiveVersion(Microsoft::CodeAnalysis::CSharp::LanguageVersion version);
public static Microsoft.CodeAnalysis.CSharp.LanguageVersion MapSpecifiedToEffectiveVersion (this Microsoft.CodeAnalysis.CSharp.LanguageVersion version);
static member MapSpecifiedToEffectiveVersion : Microsoft.CodeAnalysis.CSharp.LanguageVersion -> Microsoft.CodeAnalysis.CSharp.LanguageVersion
<Extension()>
Public Function MapSpecifiedToEffectiveVersion (version As LanguageVersion) As LanguageVersion

Parameters

version
LanguageVersion

Returns

Applies to