2 implementations of Definition
Microsoft.CodeAnalysis.CodeStyle (2)
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;
9 references to Definition
Microsoft.CodeAnalysis.CodeStyle (9)
src\Analyzers\Core\Analyzers\AbstractBuiltInCodeStyleDiagnosticAnalyzer.cs (1)
88
Debug.Assert(option is {
Definition
.DefaultValue: ICodeStyleOption2 } == descriptor.CustomTags.Contains(WellKnownDiagnosticTags.CustomSeverityConfigurable));
src\Analyzers\Core\Analyzers\IDEDiagnosticIdToOptionMappingHelper.cs (1)
89
Debug.Assert(options.All(option => option.
Definition
.IsEditorConfigOption));
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
;