1 write to DeclarationModifiers
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberMethodSymbol.cs (1)
334
DeclarationModifiers
= modifiersAndFlags.declarationModifiers;
23 references to DeclarationModifiers
Microsoft.CodeAnalysis.CSharp (23)
Symbols\Source\SourceConstructorSymbol.cs (2)
36
this.CheckUnsafeModifier(
DeclarationModifiers
, diagnostics);
69
ModifierUtils.CheckAccessibility(this.
DeclarationModifiers
, this, isExplicitInterfaceImplementation: false, diagnostics, location);
Symbols\Source\SourceDestructorSymbol.cs (1)
26
this.CheckUnsafeModifier(
DeclarationModifiers
, diagnostics);
Symbols\Source\SourceMemberMethodSymbol.cs (12)
583
return ModifierUtils.EffectiveAccessibility(this.
DeclarationModifiers
);
591
return (this.
DeclarationModifiers
& DeclarationModifiers.Extern) != 0;
607
return (this.
DeclarationModifiers
& DeclarationModifiers.Sealed) != 0;
615
return (this.
DeclarationModifiers
& DeclarationModifiers.Abstract) != 0;
623
return (this.
DeclarationModifiers
& DeclarationModifiers.Override) != 0;
631
return (this.
DeclarationModifiers
& DeclarationModifiers.Partial) != 0;
639
return (this.
DeclarationModifiers
& DeclarationModifiers.Virtual) != 0;
647
return (this.
DeclarationModifiers
& DeclarationModifiers.New) != 0;
655
return (this.
DeclarationModifiers
& DeclarationModifiers.Static) != 0;
663
return (this.
DeclarationModifiers
& DeclarationModifiers.Unsafe) != 0;
671
return (this.
DeclarationModifiers
& DeclarationModifiers.Async) != 0;
679
return (this.
DeclarationModifiers
& DeclarationModifiers.ReadOnly) != 0;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (3)
64
this.CheckUnsafeModifier(
DeclarationModifiers
, diagnostics);
76
ModifierUtils.CheckAccessibility(this.
DeclarationModifiers
, this, isExplicitInterfaceImplementation: methodKind == MethodKind.ExplicitInterfaceImplementation, diagnostics, location);
791
private bool HasExtendedPartialModifier => (
DeclarationModifiers
& PartialMethodExtendedModifierMask) != 0;
Symbols\Source\SourcePropertyAccessorSymbol.cs (4)
167
ModifierUtils.CheckAccessibility(this.
DeclarationModifiers
, this, property.IsExplicitInterfaceImplementation, diagnostics, location);
211
ModifierUtils.CheckAccessibility(this.
DeclarationModifiers
, this, property.IsExplicitInterfaceImplementation, diagnostics, location);
426
get { return ModifierUtils.EffectiveAccessibility(this.
DeclarationModifiers
); }
432
internal bool LocalDeclaredReadOnly => (
DeclarationModifiers
& DeclarationModifiers.ReadOnly) != 0;
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
122
ModifierUtils.CheckAccessibility(this.
DeclarationModifiers
, this, isExplicitInterfaceImplementation: false, diagnostics, location);