1 write to Definition
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
44
Definition
= definition;
15 references to Definition
Microsoft.CodeAnalysis.Workspaces (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (13)
65
if (!
Definition
.IsEditorConfigOption)
70
Debug.Assert(LanguageName is null == (
Definition
.ConfigName.StartsWith(OptionDefinition.LanguageAgnosticConfigNamePrefix, 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;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PublicOptionFactory.cs (2)
60
option.
Definition
,
63
option.
Definition
.ToPublicOptionDefinition(internalOption, toPublicValue, toInternalValue),