Compartir a través de


CSharpParseOptions.WithFeatures Method

Definition

Enable some experimental language features for testing.

public:
 Microsoft::CodeAnalysis::CSharp::CSharpParseOptions ^ WithFeatures(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ features);
public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions WithFeatures (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> features);
public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions WithFeatures (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>>? features);
override this.WithFeatures : seq<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.CodeAnalysis.CSharp.CSharpParseOptions
Public Function WithFeatures (features As IEnumerable(Of KeyValuePair(Of String, String))) As CSharpParseOptions

Parameters

Returns

Applies to