Click or drag to resize

LanguageVersionFacts Class



Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.CSharpLanguageVersionFacts

Namespace:  Microsoft.CodeAnalysis.CSharp
Assembly:  Microsoft.CodeAnalysis.CSharp (in Microsoft.CodeAnalysis.CSharp.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public static class LanguageVersionFacts

The LanguageVersionFacts type exposes the following members.

Methods
  NameDescription
Public methodStatic memberMapSpecifiedToEffectiveVersion
Map a language version (such as Default, Latest, or CSharpN) to a specific version (CSharpM).
Public methodStatic memberToDisplayString
Displays the version number in the format expected on the command-line (/langver flag). For instance, "6", "7", "7.1", "latest".
Public methodStatic memberTryParse
Parse a LanguageVersion from a string input, as the command-line compiler does.
Top
See Also