36 references to Private
Microsoft.CodeAnalysis.CSharp (36)
Binder\ExpressionVariableFinder.cs (1)
728
modifiers: DeclarationModifiers.
Private
,
Declarations\DeclarationModifiers.cs (1)
45
AccessibilityMask = PrivateProtected |
Private
| Protected | Internal | ProtectedInternal | Public,
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
159
var 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)
1305
return DeclarationModifiers.
Private
;
Symbols\Source\LocalFunctionSymbol.cs (1)
51
DeclarationModifiers.
Private
|
Symbols\Source\ModifierUtils.cs (7)
239
else if ((mods & (DeclarationModifiers.
Private
| DeclarationModifiers.Partial | DeclarationModifiers.Virtual | DeclarationModifiers.Abstract)) == 0)
268
mods |= DeclarationModifiers.
Private
;
295
case DeclarationModifiers.
Private
:
353
return DeclarationModifiers.
Private
;
430
case DeclarationModifiers.
Private
| DeclarationModifiers.Protected:
524
case DeclarationModifiers.
Private
:
549
case DeclarationModifiers.
Private
:
Symbols\Source\SourceConstructorSymbol.cs (2)
126
var defaultAccess = (methodKind == MethodKind.StaticConstructor) ? DeclarationModifiers.None : DeclarationModifiers.
Private
;
152
mods |= 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)
448
var defaultAccess = isInterface && !explicitInterfaceImplementation ? DeclarationModifiers.Public : DeclarationModifiers.
Private
;
Symbols\Source\SourceMemberContainerSymbol.cs (6)
311
defaultAccess = DeclarationModifiers.
Private
;
4957
DeclarationModifiers.
Private
| (modifiers & DeclarationModifiers.Static),
5061
DeclarationModifiers.
Private
| (property.IsStatic ? DeclarationModifiers.Static : 0),
5099
DeclarationModifiers.
Private
| (@event.IsStatic ? DeclarationModifiers.Static : 0),
5222
ExpressionFieldFinder.FindExpressionVariables(builder.NonTypeMembers, vdecl, this, DeclarationModifiers.
Private
,
5237
DeclarationModifiers.
Private
,
Symbols\Source\SourceMemberFieldSymbol.cs (1)
169
isInterface ? DeclarationModifiers.Public : DeclarationModifiers.
Private
;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
694
var defaultAccess = isInterface && !isExplicitInterfaceImplementation ? DeclarationModifiers.None : DeclarationModifiers.
Private
;
779
mods = (mods & ~DeclarationModifiers.AccessibilityMask) | DeclarationModifiers.
Private
;
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
235
if ((declarationModifiers & DeclarationModifiers.
Private
) != 0)
Symbols\Source\SourcePropertySymbol.cs (1)
369
var defaultAccess = isInterface && !isExplicitInterfaceImplementation ? DeclarationModifiers.Public : DeclarationModifiers.
Private
;
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
128
var defaultAccess = inInterface && !isExplicitInterfaceImplementation ? DeclarationModifiers.Public : DeclarationModifiers.
Private
;
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
29
(true, true) => DeclarationModifiers.
Private
,
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (3)
38
DeclarationModifiers.
Private
:
65
return modifiers == DeclarationModifiers.
Private
;
68
if ((modifiers & DeclarationModifiers.AccessibilityMask) != DeclarationModifiers.
Private
&&
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
35
Modifiers = DeclarationModifiers.
Private
|
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
36
_modifiers = (isPublic ? DeclarationModifiers.Public : DeclarationModifiers.
Private
) |
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
67
DeclarationModifiers declarationModifiers = DeclarationModifiers.Static | DeclarationModifiers.
Private
| (hasAwait ? DeclarationModifiers.Async : DeclarationModifiers.None);