OptionSet.WithChangedOption Method

Definition

Overloads

WithChangedOption(OptionKey, Object)

Creates a new OptionSet that contains the changed value.

WithChangedOption<T>(Option<T>, T)

Creates a new OptionSet that contains the changed value.

WithChangedOption<T>(PerLanguageOption<T>, String, T)

Creates a new OptionSet that contains the changed value.

WithChangedOption(OptionKey, Object)

Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs

Creates a new OptionSet that contains the changed value.

public:
 abstract Microsoft::CodeAnalysis::Options::OptionSet ^ WithChangedOption(Microsoft::CodeAnalysis::Options::OptionKey optionAndLanguage, System::Object ^ value);
public abstract Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption (Microsoft.CodeAnalysis.Options.OptionKey optionAndLanguage, object value);
public abstract Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption (Microsoft.CodeAnalysis.Options.OptionKey optionAndLanguage, object? value);
public virtual Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption (Microsoft.CodeAnalysis.Options.OptionKey optionAndLanguage, object? value);
abstract member WithChangedOption : Microsoft.CodeAnalysis.Options.OptionKey * obj -> Microsoft.CodeAnalysis.Options.OptionSet
abstract member WithChangedOption : Microsoft.CodeAnalysis.Options.OptionKey * obj -> Microsoft.CodeAnalysis.Options.OptionSet
override this.WithChangedOption : Microsoft.CodeAnalysis.Options.OptionKey * obj -> Microsoft.CodeAnalysis.Options.OptionSet
Public MustOverride Function WithChangedOption (optionAndLanguage As OptionKey, value As Object) As OptionSet
Public Overridable Function WithChangedOption (optionAndLanguage As OptionKey, value As Object) As OptionSet

Parameters

optionAndLanguage
OptionKey
value
Object

Returns

Applies to

WithChangedOption<T>(Option<T>, T)

Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs

Creates a new OptionSet that contains the changed value.

public:
generic <typename T>
 Microsoft::CodeAnalysis::Options::OptionSet ^ WithChangedOption(Microsoft::CodeAnalysis::Options::Option<T> ^ option, T value);
public Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption<T> (Microsoft.CodeAnalysis.Options.Option<T> option, T value);
member this.WithChangedOption : Microsoft.CodeAnalysis.Options.Option<'T> * 'T -> Microsoft.CodeAnalysis.Options.OptionSet
Public Function WithChangedOption(Of T) (option As Option(Of T), value As T) As OptionSet

Type Parameters

T

Parameters

option
Option<T>
value
T

Returns

Applies to

WithChangedOption<T>(PerLanguageOption<T>, String, T)

Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs
Source:
OptionSet.cs

Creates a new OptionSet that contains the changed value.

public:
generic <typename T>
 Microsoft::CodeAnalysis::Options::OptionSet ^ WithChangedOption(Microsoft::CodeAnalysis::Options::PerLanguageOption<T> ^ option, System::String ^ language, T value);
public Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption<T> (Microsoft.CodeAnalysis.Options.PerLanguageOption<T> option, string language, T value);
public Microsoft.CodeAnalysis.Options.OptionSet WithChangedOption<T> (Microsoft.CodeAnalysis.Options.PerLanguageOption<T> option, string? language, T value);
member this.WithChangedOption : Microsoft.CodeAnalysis.Options.PerLanguageOption<'T> * string * 'T -> Microsoft.CodeAnalysis.Options.OptionSet
Public Function WithChangedOption(Of T) (option As PerLanguageOption(Of T), language As String, value As T) As OptionSet

Type Parameters

T

Parameters

language
String
value
T

Returns

Applies to