7 references to OptionDefinition
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalyzerConfigOptionsExtensions.cs (1)
41
return ((
OptionDefinition
<T>)option.Definition).Serializer.TryParseValue(stringValue, out value!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (2)
38
public
OptionDefinition
<T> Definition { get; }
42
internal Option2(
OptionDefinition
<T> definition, string? languageName, Func<IOption2, IPublicOption>? publicOptionFactory)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (2)
30
public
OptionDefinition
<T> Definition { get; }
33
internal PerLanguageOption2(
OptionDefinition
<T> optionDefinition, Func<IOption2, IPublicOption>? publicOptionFactory)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PublicOptionFactory.cs (2)
49
private static
OptionDefinition
<TPublicValue> ToPublicOptionDefinition<T, TPublicValue>(this
OptionDefinition
<T> definition, IOption2 internalOption, Func<T, TPublicValue> toPublicValue, Func<TPublicValue, T> toInternalValue)