CSharpParseOptions Constructor

Definition

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
preprocessorSymbols
IEnumerable<String>

Applies to