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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.