30 references to ModifierKindEnum
Microsoft.CodeAnalysis.CodeStyle (30)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (10)
297
private static readonly ModifierKind s_abstractModifierKind = new(
ModifierKindEnum
.IsAbstract);
298
private static readonly ModifierKind s_asyncModifierKind = new(
ModifierKindEnum
.IsAsync);
299
private static readonly ModifierKind s_constModifierKind = new(
ModifierKindEnum
.IsConst);
300
private static readonly ModifierKind s_readonlyModifierKind = new(
ModifierKindEnum
.IsReadOnly);
301
private static readonly ModifierKind s_staticModifierKind = new(
ModifierKindEnum
.IsStatic);
522
case
ModifierKindEnum
.IsAbstract:
532
case
ModifierKindEnum
.IsStatic:
542
case
ModifierKindEnum
.IsAsync:
545
case
ModifierKindEnum
.IsReadOnly:
548
case
ModifierKindEnum
.IsConst:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (20)
137
case
ModifierKindEnum
.IsAbstract:
140
case
ModifierKindEnum
.IsStatic:
143
case
ModifierKindEnum
.IsAsync:
146
case
ModifierKindEnum
.IsReadOnly:
149
case
ModifierKindEnum
.IsConst:
448
public readonly
ModifierKindEnum
ModifierKindWrapper;
458
ModifierKindWrapper =
ModifierKindEnum
.IsAbstract;
462
ModifierKindWrapper =
ModifierKindEnum
.IsStatic;
466
ModifierKindWrapper =
ModifierKindEnum
.IsAsync;
470
ModifierKindWrapper =
ModifierKindEnum
.IsReadOnly;
474
ModifierKindWrapper =
ModifierKindEnum
.IsConst;
482
public ModifierKind(
ModifierKindEnum
modifierKind)
487
isAbstract: ModifierKindWrapper ==
ModifierKindEnum
.IsAbstract,
488
isStatic: ModifierKindWrapper ==
ModifierKindEnum
.IsStatic,
489
isAsync: ModifierKindWrapper ==
ModifierKindEnum
.IsAsync,
490
isReadOnly: ModifierKindWrapper ==
ModifierKindEnum
.IsReadOnly,
491
isConst: ModifierKindWrapper ==
ModifierKindEnum
.IsConst);
532
=> new((
ModifierKindEnum
)Enum.Parse(typeof(
ModifierKindEnum
), modifierElement.Value));
538
=> new((
ModifierKindEnum
)reader.ReadInt32());