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)
14
internal abstract class OptionDefinition : IEquatable<
OptionDefinition
?>
73
=> Equals(other as
OptionDefinition
);
75
public bool Equals(
OptionDefinition
? other)
84
public static bool operator ==(
OptionDefinition
? left,
OptionDefinition
? right)
87
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;