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