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