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