15 references to Protected
Microsoft.CodeAnalysis.CSharp (15)
Declarations\DeclarationModifiers.cs (1)
45AccessibilityMask = PrivateProtected | Private | Protected | Internal | ProtectedInternal | Public,
Parser\LanguageParser.cs (1)
1303return DeclarationModifiers.Protected;
Symbols\Source\ModifierUtils.cs (7)
289case DeclarationModifiers.Protected: 349return DeclarationModifiers.Protected; 424case DeclarationModifiers.Protected | DeclarationModifiers.Internal: 430case DeclarationModifiers.Private | DeclarationModifiers.Protected: 475case DeclarationModifiers.Protected: 526case DeclarationModifiers.Protected: 550case DeclarationModifiers.Protected:
Symbols\Source\SourceDestructorSymbol.cs (1)
135mods = (mods & ~DeclarationModifiers.AccessibilityMask) | DeclarationModifiers.Protected; // we mark destructors protected in the symbol table
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
40DeclarationModifiers 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)
39DeclarationModifiers.Protected; 69(modifiers & DeclarationModifiers.AccessibilityMask) != DeclarationModifiers.Protected)