30 references to ModifierKindEnum
Microsoft.CodeAnalysis.Workspaces (30)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (10)
246
private static readonly ModifierKind s_abstractModifierKind = new(
ModifierKindEnum
.IsAbstract);
247
private static readonly ModifierKind s_asyncModifierKind = new(
ModifierKindEnum
.IsAsync);
248
private static readonly ModifierKind s_constModifierKind = new(
ModifierKindEnum
.IsConst);
249
private static readonly ModifierKind s_readonlyModifierKind = new(
ModifierKindEnum
.IsReadOnly);
250
private static readonly ModifierKind s_staticModifierKind = new(
ModifierKindEnum
.IsStatic);
471
case
ModifierKindEnum
.IsAbstract:
481
case
ModifierKindEnum
.IsStatic:
491
case
ModifierKindEnum
.IsAsync:
494
case
ModifierKindEnum
.IsReadOnly:
497
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());