15 references to Protected
Microsoft.CodeAnalysis.CSharp (15)
Declarations\DeclarationModifiers.cs (1)
45
AccessibilityMask = PrivateProtected | Private |
Protected
| Internal | ProtectedInternal | Public,
Parser\LanguageParser.cs (1)
1303
return DeclarationModifiers.
Protected
;
Symbols\Source\ModifierUtils.cs (7)
289
case DeclarationModifiers.
Protected
:
349
return DeclarationModifiers.
Protected
;
424
case DeclarationModifiers.
Protected
| DeclarationModifiers.Internal:
430
case DeclarationModifiers.Private | DeclarationModifiers.
Protected
:
475
case DeclarationModifiers.
Protected
:
526
case DeclarationModifiers.
Protected
:
550
case DeclarationModifiers.
Protected
:
Symbols\Source\SourceDestructorSymbol.cs (1)
135
mods = (mods & ~DeclarationModifiers.AccessibilityMask) | DeclarationModifiers.
Protected
; // we mark destructors protected in the symbol table
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
40
DeclarationModifiers declarationModifiers = containingType.IsAbstract ? DeclarationModifiers.
Protected
: DeclarationModifiers.Public;
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (2)
30
(false, true) => DeclarationModifiers.
Protected
| DeclarationModifiers.Virtual,
31
(_, false) => DeclarationModifiers.
Protected
| DeclarationModifiers.Override
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (2)
39
DeclarationModifiers.
Protected
;
69
(modifiers & DeclarationModifiers.AccessibilityMask) != DeclarationModifiers.
Protected
)