37 references to AccessibilityMask
Microsoft.CodeAnalysis.CSharp (37)
Symbols\Source\ModifierUtils.cs (8)
32if ((result & DeclarationModifiers.AccessibilityMask) == 0) 260if ((mods & DeclarationModifiers.AccessibilityMask) == 0) 422switch (result & DeclarationModifiers.AccessibilityMask) 426result &= ~DeclarationModifiers.AccessibilityMask; 432result &= ~DeclarationModifiers.AccessibilityMask; 473switch (modifiers & DeclarationModifiers.AccessibilityMask) 520switch (modifiers & DeclarationModifiers.AccessibilityMask) 546switch (modifiers & DeclarationModifiers.AccessibilityMask)
Symbols\Source\SourceConstructorSymbol.cs (3)
130DeclarationModifiers.AccessibilityMask | 144if ((mods & DeclarationModifiers.AccessibilityMask) != 0 && 147mods = mods & ~DeclarationModifiers.AccessibilityMask;
Symbols\Source\SourceDestructorSymbol.cs (1)
135mods = (mods & ~DeclarationModifiers.AccessibilityMask) | DeclarationModifiers.Protected; // we mark destructors protected in the symbol table
Symbols\Source\SourceEventFieldSymbol.cs (1)
28(associatedEvent.Modifiers & (~DeclarationModifiers.AccessibilityMask)) | DeclarationModifiers.Private,
Symbols\Source\SourceEventSymbol.cs (2)
460DeclarationModifiers.AccessibilityMask; 478DeclarationModifiers.AccessibilityMask;
Symbols\Source\SourceMemberContainerSymbol.cs (4)
244int access = (int)(modifiers & DeclarationModifiers.AccessibilityMask); 250modifiers &= ~DeclarationModifiers.AccessibilityMask; // remove them all 295var allowedModifiers = DeclarationModifiers.AccessibilityMask | DeclarationModifiers.File; 431if ((result & DeclarationModifiers.AccessibilityMask) == 0)
Symbols\Source\SourceMemberFieldSymbol.cs (2)
172DeclarationModifiers.AccessibilityMask | 209Debug.Assert((result & ~(DeclarationModifiers.AccessibilityMask | DeclarationModifiers.Fixed | DeclarationModifiers.Unsafe | DeclarationModifiers.New)) == 0);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (4)
707DeclarationModifiers.AccessibilityMask; 722DeclarationModifiers.AccessibilityMask; 748if ((mods & DeclarationModifiers.AccessibilityMask) == 0) 779mods = (mods & ~DeclarationModifiers.AccessibilityMask) | DeclarationModifiers.Private;
Symbols\Source\SourcePropertyAccessorSymbol.cs (3)
234declarationModifiers |= GetAccessorModifiers(propertyModifiers) & ~DeclarationModifiers.AccessibilityMask; 500var allowedModifiers = isExplicitInterfaceImplementation ? DeclarationModifiers.None : DeclarationModifiers.AccessibilityMask; 511defaultInterfaceImplementationModifiers = DeclarationModifiers.AccessibilityMask;
Symbols\Source\SourcePropertySymbol.cs (3)
381DeclarationModifiers.AccessibilityMask; 408DeclarationModifiers.AccessibilityMask; 438if ((mods & DeclarationModifiers.AccessibilityMask) == 0)
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
136allowedModifiers |= DeclarationModifiers.AccessibilityMask;
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (2)
57if ((modifiers & DeclarationModifiers.AccessibilityMask) != DeclarationModifiers.Public) 62modifiers &= ~DeclarationModifiers.AccessibilityMask;
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (3)
68if ((modifiers & DeclarationModifiers.AccessibilityMask) != DeclarationModifiers.Private && 69(modifiers & DeclarationModifiers.AccessibilityMask) != DeclarationModifiers.Protected) 74modifiers &= ~DeclarationModifiers.AccessibilityMask;