CSharpParseOptions Constructor
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 CSharpParseOptions (Microsoft.CodeAnalysis.CSharp.LanguageVersion languageVersion = Microsoft.CodeAnalysis.CSharp.LanguageVersion.Default, Microsoft.CodeAnalysis.DocumentationMode documentationMode = Microsoft.CodeAnalysis.DocumentationMode.Parse, Microsoft.CodeAnalysis.SourceCodeKind kind = Microsoft.CodeAnalysis.SourceCodeKind.Regular, System.Collections.Generic.IEnumerable<string> preprocessorSymbols = default);
public CSharpParseOptions (Microsoft.CodeAnalysis.CSharp.LanguageVersion languageVersion = Microsoft.CodeAnalysis.CSharp.LanguageVersion.Default, Microsoft.CodeAnalysis.DocumentationMode documentationMode = Microsoft.CodeAnalysis.DocumentationMode.Parse, Microsoft.CodeAnalysis.SourceCodeKind kind = Microsoft.CodeAnalysis.SourceCodeKind.Regular, System.Collections.Generic.IEnumerable<string>? preprocessorSymbols = default);
new Microsoft.CodeAnalysis.CSharp.CSharpParseOptions : Microsoft.CodeAnalysis.CSharp.LanguageVersion * Microsoft.CodeAnalysis.DocumentationMode * Microsoft.CodeAnalysis.SourceCodeKind * seq<string> -> Microsoft.CodeAnalysis.CSharp.CSharpParseOptions
Public Sub New (Optional languageVersion As LanguageVersion = Microsoft.CodeAnalysis.CSharp.LanguageVersion.Default, Optional documentationMode As DocumentationMode = Microsoft.CodeAnalysis.DocumentationMode.Parse, Optional kind As SourceCodeKind = Microsoft.CodeAnalysis.SourceCodeKind.Regular, Optional preprocessorSymbols As IEnumerable(Of String) = Nothing)
Parameters
- languageVersion
- LanguageVersion
- documentationMode
- DocumentationMode
- kind
- SourceCodeKind
- preprocessorSymbols
- IEnumerable<String>
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.