32 references to SymbolSpecification
Microsoft.CodeAnalysis.CodeStyle (32)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\NamingStyles\NamingStyleOption.cs (1)
8using static Microsoft.CodeAnalysis.Diagnostics.Analyzers.NamingStyles.SymbolSpecification;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser.cs (5)
20var symbolSpecifications = ArrayBuilder<SymbolSpecification>.GetInstance(); 27if (TryGetSymbolSpec(namingRuleTitle, trimmedDictionary, out var symbolSpec) && 174if (modifier.ModifierKindWrapper is SymbolSpecification.ModifierKindEnum.IsStatic 175or SymbolSpecification.ModifierKindEnum.IsReadOnly) 177if (x.SymbolSpecification.RequiredModifierList.Any(static x => x.ModifierKindWrapper == SymbolSpecification.ModifierKindEnum.IsConst))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_NamingRule.cs (1)
17SymbolSpecification symbolSpec,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (3)
15using static Microsoft.CodeAnalysis.Diagnostics.Analyzers.NamingStyles.SymbolSpecification; 50[NotNullWhen(true)] out SymbolSpecification? symbolSpec) 52return TryGetSymbolSpec<string, object?, SymbolSpecification>(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingRule.cs (2)
10SymbolSpecification symbolSpecification, 14public readonly SymbolSpecification SymbolSpecification = symbolSpecification;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (5)
278public readonly ImmutableArray<SymbolSpecification> SymbolSpecifications; 289ImmutableArray<SymbolSpecification> symbolSpecifications, 311internal SymbolSpecification GetSymbolSpecification(Guid symbolSpecificationID) 333element.Element("SymbolSpecifications").Elements(nameof(SymbolSpecification)) 334.Select(SymbolSpecification.FromXElement).ToImmutableArray(),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferencesEditorConfigSerializer.cs (5)
30ImmutableArray<SymbolSpecification> symbolSpecifications, 47ImmutableArray<SymbolSpecification> symbolSpecifications, 88foreach (var symbolSpecification in symbolSpecifications) 120ImmutableArray<SymbolSpecification> symbolSpecifications, 125foreach (var symbolSpecification in symbolSpecifications)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (10)
31ImmutableArray<SymbolSpecification.SymbolKindOrTypeKind> symbolKindList, 33ImmutableArray<SymbolSpecification.ModifierKind> modifiers = default) : IEquatable<SymbolSpecification> 35private static readonly SymbolSpecification DefaultSymbolSpecificationTemplate = CreateDefaultSymbolSpecification(); 55public static SymbolSpecification CreateDefaultSymbolSpecification() 193return Equals(obj as SymbolSpecification); 196public bool Equals(SymbolSpecification other) 219return new XElement(nameof(SymbolSpecification), 236public static SymbolSpecification ReadFrom(ObjectReader reader) 282internal static SymbolSpecification FromXElement(XElement symbolSpecificationElement)