4 implementations of Definition
Microsoft.CodeAnalysis.Workspaces (4)
Options\Option.cs (1)
88
OptionDefinition IOption2.
Definition
=> _optionDefinition;
Options\PerLanguageOption.cs (1)
74
OptionDefinition IOption2.
Definition
=> _optionDefinition;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
77
OptionDefinition IOption2.
Definition
=> Definition;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
64
OptionDefinition IOption2.
Definition
=> Definition;
16 references to Definition
Microsoft.CodeAnalysis.Workspaces (16)
Options\DocumentOptionSet.cs (2)
80
if (!_configOptions.TryGetValue(internallyDefinedOption.
Definition
.ConfigName, out var stringValue))
87
return internallyDefinedOption.
Definition
.Serializer.TryParse(stringValue, out value);
Options\GlobalOptionService.cs (1)
163
Debug.Assert(optionKey.Option is IOption2 {
Definition
.StorageMapping: null });
Options\OptionSet.cs (2)
26
if (optionKey.Option is IOption2 {
Definition
.StorageMapping: { } mapping })
73
if (optionAndLanguage.Option is IOption2 {
Definition
.StorageMapping: { } mapping })
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalyzerConfigOptionsExtensions.cs (5)
23
Contract.ThrowIfFalse(option.
Definition
.IsEditorConfigOption);
25
if (option.
Definition
.Type == typeof(NamingStylePreferences))
36
if (analyzerConfigOptions.TryGetValue(option.
Definition
.ConfigName, out var stringValue))
41
return ((OptionDefinition<T>)option.
Definition
).Serializer.TryParseValue(stringValue, out value!);
44
if (option.
Definition
.Serializer.TryParse(stringValue, out var objectValue))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
103
return Definition == other?.
Definition
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
90
return Definition == other?.
Definition
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PublicOptionFactory.cs (4)
122
var equals = x.
Definition
.ConfigName == y.
Definition
.ConfigName && x.
Definition
.Group == y.
Definition
.Group;