30 references to ModifierKindEnum
Microsoft.CodeAnalysis.CodeStyle (30)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (10)
297private static readonly ModifierKind s_abstractModifierKind = new(ModifierKindEnum.IsAbstract); 298private static readonly ModifierKind s_asyncModifierKind = new(ModifierKindEnum.IsAsync); 299private static readonly ModifierKind s_constModifierKind = new(ModifierKindEnum.IsConst); 300private static readonly ModifierKind s_readonlyModifierKind = new(ModifierKindEnum.IsReadOnly); 301private static readonly ModifierKind s_staticModifierKind = new(ModifierKindEnum.IsStatic); 522case ModifierKindEnum.IsAbstract: 532case ModifierKindEnum.IsStatic: 542case ModifierKindEnum.IsAsync: 545case ModifierKindEnum.IsReadOnly: 548case ModifierKindEnum.IsConst:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (20)
137case ModifierKindEnum.IsAbstract: 140case ModifierKindEnum.IsStatic: 143case ModifierKindEnum.IsAsync: 146case ModifierKindEnum.IsReadOnly: 149case ModifierKindEnum.IsConst: 457public readonly ModifierKindEnum ModifierKindWrapper; 467ModifierKindWrapper = ModifierKindEnum.IsAbstract; 471ModifierKindWrapper = ModifierKindEnum.IsStatic; 475ModifierKindWrapper = ModifierKindEnum.IsAsync; 479ModifierKindWrapper = ModifierKindEnum.IsReadOnly; 483ModifierKindWrapper = ModifierKindEnum.IsConst; 491public ModifierKind(ModifierKindEnum modifierKind) 496isAbstract: ModifierKindWrapper == ModifierKindEnum.IsAbstract, 497isStatic: ModifierKindWrapper == ModifierKindEnum.IsStatic, 498isAsync: ModifierKindWrapper == ModifierKindEnum.IsAsync, 499isReadOnly: ModifierKindWrapper == ModifierKindEnum.IsReadOnly, 500isConst: ModifierKindWrapper == ModifierKindEnum.IsConst); 541=> new((ModifierKindEnum)Enum.Parse(typeof(ModifierKindEnum), modifierElement.Value)); 547=> new((ModifierKindEnum)reader.ReadInt32());