1 write to Definition
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
35
Definition
= optionDefinition;
13 references to Definition
Microsoft.CodeAnalysis.Workspaces (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (11)
54
if (!
Definition
.IsEditorConfigOption)
60
Debug.Assert(!
Definition
.ConfigName.StartsWith(OptionDefinition.CSharpConfigNamePrefix, StringComparison.Ordinal));
61
Debug.Assert(!
Definition
.ConfigName.StartsWith(OptionDefinition.VisualBasicConfigNamePrefix, StringComparison.Ordinal));
64
OptionDefinition IOption2.Definition =>
Definition
;
65
public T DefaultValue =>
Definition
.DefaultValue;
71
string IOption.Name =>
Definition
.ConfigName;
72
object? IOption.DefaultValue =>
Definition
.DefaultValue;
74
Type IOption.Type =>
Definition
.Type;
77
public override string ToString() =>
Definition
.ToString();
79
public override int GetHashCode() =>
Definition
.GetHashCode();
90
return
Definition
== other?.Definition;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PublicOptionFactory.cs (2)
70
option.
Definition
,
72
option.
Definition
.ToPublicOptionDefinition(internalOption, toPublicValue, toInternalValue),