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