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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.