CSharpParseOptions.WithPreprocessorSymbols Method

Definition

Overloads

WithPreprocessorSymbols(IEnumerable<String>)
WithPreprocessorSymbols(ImmutableArray<String>)
WithPreprocessorSymbols(String[])

WithPreprocessorSymbols(IEnumerable<String>)

public:
 Microsoft::CodeAnalysis::CSharp::CSharpParseOptions ^ WithPreprocessorSymbols(System::Collections::Generic::IEnumerable<System::String ^> ^ preprocessorSymbols);
public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions WithPreprocessorSymbols (System.Collections.Generic.IEnumerable<string>? preprocessorSymbols);
public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions WithPreprocessorSymbols (System.Collections.Generic.IEnumerable<string> preprocessorSymbols);
member this.WithPreprocessorSymbols : seq<string> -> Microsoft.CodeAnalysis.CSharp.CSharpParseOptions
Public Function WithPreprocessorSymbols (preprocessorSymbols As IEnumerable(Of String)) As CSharpParseOptions

Parameters

preprocessorSymbols
IEnumerable<String>

Returns

CSharpParseOptions

Applies to

WithPreprocessorSymbols(ImmutableArray<String>)

public:
 Microsoft::CodeAnalysis::CSharp::CSharpParseOptions ^ WithPreprocessorSymbols(System::Collections::Immutable::ImmutableArray<System::String ^> symbols);
public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions WithPreprocessorSymbols (System.Collections.Immutable.ImmutableArray<string>? symbols);
public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions WithPreprocessorSymbols (System.Collections.Immutable.ImmutableArray<string> symbols);
member this.WithPreprocessorSymbols : System.Collections.Immutable.ImmutableArray<string> -> Microsoft.CodeAnalysis.CSharp.CSharpParseOptions
Public Function WithPreprocessorSymbols (symbols As ImmutableArray(Of String)) As CSharpParseOptions

Parameters

Returns

CSharpParseOptions

Applies to

WithPreprocessorSymbols(String[])

public:
 Microsoft::CodeAnalysis::CSharp::CSharpParseOptions ^ WithPreprocessorSymbols(... cli::array <System::String ^> ^ preprocessorSymbols);
public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions WithPreprocessorSymbols (params string[]? preprocessorSymbols);
public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions WithPreprocessorSymbols (params string[] preprocessorSymbols);
member this.WithPreprocessorSymbols : string[] -> Microsoft.CodeAnalysis.CSharp.CSharpParseOptions
Public Function WithPreprocessorSymbols (ParamArray preprocessorSymbols As String()) As CSharpParseOptions

Parameters

preprocessorSymbols
String[]

Returns

CSharpParseOptions

Applies to