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:
457
public readonly
ModifierKindEnum
ModifierKindWrapper;
467
ModifierKindWrapper =
ModifierKindEnum
.IsAbstract;
471
ModifierKindWrapper =
ModifierKindEnum
.IsStatic;
475
ModifierKindWrapper =
ModifierKindEnum
.IsAsync;
479
ModifierKindWrapper =
ModifierKindEnum
.IsReadOnly;
483
ModifierKindWrapper =
ModifierKindEnum
.IsConst;
491
public ModifierKind(
ModifierKindEnum
modifierKind)
496
isAbstract: ModifierKindWrapper ==
ModifierKindEnum
.IsAbstract,
497
isStatic: ModifierKindWrapper ==
ModifierKindEnum
.IsStatic,
498
isAsync: ModifierKindWrapper ==
ModifierKindEnum
.IsAsync,
499
isReadOnly: ModifierKindWrapper ==
ModifierKindEnum
.IsReadOnly,
500
isConst: ModifierKindWrapper ==
ModifierKindEnum
.IsConst);
541
=> new((
ModifierKindEnum
)Enum.Parse(typeof(
ModifierKindEnum
), modifierElement.Value));
547
=> new((
ModifierKindEnum
)reader.ReadInt32());