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