15 references to OptionDefinition
Microsoft.CodeAnalysis.CodeStyle (15)
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;