36 references to Private
Microsoft.CodeAnalysis.CSharp (36)
Binder\ExpressionVariableFinder.cs (1)
728modifiers: DeclarationModifiers.Private,
Declarations\DeclarationModifiers.cs (1)
45AccessibilityMask = PrivateProtected | Private | Protected | Internal | ProtectedInternal | Public,
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
159var mods = closureKind == ClosureKind.ThisOnly ? DeclarationModifiers.Private : DeclarationModifiers.Internal;
Lowering\MethodToClassRewriter.cs (1)
738: base(containingType, methodBeingWrapped, syntax.SyntaxTree.GetReference(syntax), syntax.GetLocation(), name, DeclarationModifiers.Private,
Parser\LanguageParser.cs (1)
1304return DeclarationModifiers.Private;
Symbols\Source\LocalFunctionSymbol.cs (1)
50DeclarationModifiers.Private |
Symbols\Source\ModifierUtils.cs (7)
239else if ((mods & (DeclarationModifiers.Private | DeclarationModifiers.Partial | DeclarationModifiers.Virtual | DeclarationModifiers.Abstract)) == 0) 268mods |= DeclarationModifiers.Private; 295case DeclarationModifiers.Private: 353return DeclarationModifiers.Private; 430case DeclarationModifiers.Private | DeclarationModifiers.Protected: 524case DeclarationModifiers.Private: 549case DeclarationModifiers.Private:
Symbols\Source\SourceConstructorSymbol.cs (2)
126var defaultAccess = (methodKind == MethodKind.StaticConstructor) ? DeclarationModifiers.None : DeclarationModifiers.Private; 152mods |= DeclarationModifiers.Private; // we mark static constructors private in the symbol table
Symbols\Source\SourceEventFieldSymbol.cs (1)
28(associatedEvent.Modifiers & (~DeclarationModifiers.AccessibilityMask)) | DeclarationModifiers.Private,
Symbols\Source\SourceEventSymbol.cs (1)
448var defaultAccess = isInterface && !explicitInterfaceImplementation ? DeclarationModifiers.Public : DeclarationModifiers.Private;
Symbols\Source\SourceMemberContainerSymbol.cs (6)
311defaultAccess = DeclarationModifiers.Private; 4943DeclarationModifiers.Private | (modifiers & DeclarationModifiers.Static), 5047DeclarationModifiers.Private | (property.IsStatic ? DeclarationModifiers.Static : 0), 5085DeclarationModifiers.Private | (@event.IsStatic ? DeclarationModifiers.Static : 0), 5208ExpressionFieldFinder.FindExpressionVariables(builder.NonTypeMembers, vdecl, this, DeclarationModifiers.Private, 5223DeclarationModifiers.Private,
Symbols\Source\SourceMemberFieldSymbol.cs (1)
169isInterface ? DeclarationModifiers.Public : DeclarationModifiers.Private;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
694var defaultAccess = isInterface && !isExplicitInterfaceImplementation ? DeclarationModifiers.None : DeclarationModifiers.Private; 779mods = (mods & ~DeclarationModifiers.AccessibilityMask) | DeclarationModifiers.Private;
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
235if ((declarationModifiers & DeclarationModifiers.Private) != 0)
Symbols\Source\SourcePropertySymbol.cs (1)
369var defaultAccess = isInterface && !isExplicitInterfaceImplementation ? DeclarationModifiers.Public : DeclarationModifiers.Private;
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
128var defaultAccess = inInterface && !isExplicitInterfaceImplementation ? DeclarationModifiers.Public : DeclarationModifiers.Private;
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
29(true, true) => DeclarationModifiers.Private,
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (3)
38DeclarationModifiers.Private : 65return modifiers == DeclarationModifiers.Private; 68if ((modifiers & DeclarationModifiers.AccessibilityMask) != DeclarationModifiers.Private &&
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
35Modifiers = DeclarationModifiers.Private |
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
36_modifiers = (isPublic ? DeclarationModifiers.Public : DeclarationModifiers.Private) |
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
67DeclarationModifiers declarationModifiers = DeclarationModifiers.Static | DeclarationModifiers.Private | (hasAwait ? DeclarationModifiers.Async : DeclarationModifiers.None);