24 references to OptionDefinition
Microsoft.CodeAnalysis.Workspaces (23)
Options\Option.cs (3)
17private readonly OptionDefinition _optionDefinition; 74internal Option(OptionDefinition optionDefinition, string feature, string name, ImmutableArray<OptionStorageLocation> storageLocations) 88OptionDefinition IOption2.Definition => _optionDefinition;
Options\PerLanguageOption.cs (5)
17private readonly OptionDefinition _optionDefinition; 22/// <inheritdoc cref="OptionDefinition.Type"/> 25/// <inheritdoc cref="OptionDefinition.DefaultValue"/> 66internal PerLanguageOption(OptionDefinition optionDefinition, string feature, string name, ImmutableArray<OptionStorageLocation> storageLocations) 74OptionDefinition IOption2.Definition => _optionDefinition;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\IOption2.cs (1)
21OptionDefinition Definition { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (4)
70Debug.Assert(LanguageName is null == (Definition.ConfigName.StartsWith(OptionDefinition.LanguageAgnosticConfigNamePrefix, StringComparison.Ordinal) || 72Debug.Assert(LanguageName is LanguageNames.CSharp == Definition.ConfigName.StartsWith(OptionDefinition.CSharpConfigNamePrefix, StringComparison.Ordinal)); 73Debug.Assert(LanguageName is LanguageNames.VisualBasic == Definition.ConfigName.StartsWith(OptionDefinition.VisualBasicConfigNamePrefix, StringComparison.Ordinal)); 77OptionDefinition IOption2.Definition => Definition;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (7)
13internal abstract class OptionDefinition : IEquatable<OptionDefinition?> 72=> Equals(other as OptionDefinition); 74public bool Equals(OptionDefinition? other) 83public static bool operator ==(OptionDefinition? left, OptionDefinition? right) 86public static bool operator !=(OptionDefinition? left, OptionDefinition? right)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (3)
60Debug.Assert(!Definition.ConfigName.StartsWith(OptionDefinition.CSharpConfigNamePrefix, StringComparison.Ordinal)); 61Debug.Assert(!Definition.ConfigName.StartsWith(OptionDefinition.VisualBasicConfigNamePrefix, StringComparison.Ordinal)); 64OptionDefinition IOption2.Definition => Definition;
Microsoft.VisualStudio.LanguageServices (1)
Options\ExportVisualStudioStorageReadFallbackAttribute.cs (1)
20/// Option unique name. <see cref="OptionDefinition.ConfigName"/>.