1 write to Definition
Microsoft.CodeAnalysis.Workspaces (1)
Option2.cs (1)
44
Definition
= definition;
18 references to Definition
Microsoft.CodeAnalysis.Workspaces (15)
Option2.cs (13)
65
if (!
Definition
.IsEditorConfigOption)
70
Debug.Assert(LanguageName is null == (
Definition
.ConfigName.StartsWith("dotnet_", StringComparison.Ordinal) ||
71
Definition
.ConfigName is "file_header_template" or "insert_final_newline"));
72
Debug.Assert(LanguageName is LanguageNames.CSharp ==
Definition
.ConfigName.StartsWith(OptionDefinition.CSharpConfigNamePrefix, StringComparison.Ordinal));
73
Debug.Assert(LanguageName is LanguageNames.VisualBasic ==
Definition
.ConfigName.StartsWith(OptionDefinition.VisualBasicConfigNamePrefix, StringComparison.Ordinal));
76
public T DefaultValue =>
Definition
.DefaultValue;
77
OptionDefinition IOption2.Definition =>
Definition
;
83
string IOption.Name =>
Definition
.ConfigName;
84
object? IOption.DefaultValue =>
Definition
.DefaultValue;
86
Type IOption.Type =>
Definition
.Type;
90
public override string ToString() =>
Definition
.ToString();
92
public override int GetHashCode() =>
Definition
.GetHashCode();
103
return
Definition
== other?.Definition;
PublicOptionFactory.cs (2)
70
option.
Definition
,
73
option.
Definition
.ToPublicOptionDefinition(internalOption, toPublicValue, toInternalValue),
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Options\OptionKeyTests.cs (1)
85
Assert.Equal("name", option1.
Definition
.ConfigName);
Microsoft.VisualStudio.LanguageServices (2)
ColorSchemes\ColorSchemeApplier.Settings.cs (1)
120
: ColorSchemeOptionsStorage.ColorScheme.
Definition
.DefaultValue;
Options\PackageSettingsPersister.cs (1)
70
value = SolutionCrawlerOptionsStorage.SolutionBackgroundAnalysisScopeOption.
Definition
.DefaultValue;