30 references to Partial
Microsoft.CodeAnalysis.CSharp (30)
Declarations\DeclarationTreeBuilder.cs (3)
222
modifiers: DeclarationModifiers.Internal | DeclarationModifiers.
Partial
| DeclarationModifiers.Sealed,
247
modifiers: DeclarationModifiers.
Partial
,
337
modifiers: DeclarationModifiers.Internal | DeclarationModifiers.
Partial
| DeclarationModifiers.Sealed,
Parser\LanguageParser.cs (4)
1327
return DeclarationModifiers.
Partial
;
1336
return DeclarationModifiers.
Partial
;
1381
case DeclarationModifiers.
Partial
:
8572
if (modifier == DeclarationModifiers.
Partial
)
Symbols\Source\ModifierUtils.cs (7)
82
case DeclarationModifiers.
Partial
:
239
else if ((mods & (DeclarationModifiers.Private | DeclarationModifiers.
Partial
| DeclarationModifiers.Virtual | DeclarationModifiers.Abstract)) == 0)
262
if ((mods & DeclarationModifiers.
Partial
) == 0 && !isExplicitInterfaceImplementation)
307
case DeclarationModifiers.
Partial
:
359
return DeclarationModifiers.
Partial
;
401
if (one == DeclarationModifiers.
Partial
)
470
(symbol.Kind != SymbolKind.Method || (modifiers & DeclarationModifiers.
Partial
) == 0) &&
Symbols\Source\SourceMemberContainerSymbol.cs (8)
247
if ((modifiers & DeclarationModifiers.
Partial
) != 0)
319
allowedModifiers |= DeclarationModifiers.
Partial
| DeclarationModifiers.Sealed | DeclarationModifiers.Abstract
329
allowedModifiers |= DeclarationModifiers.
Partial
| DeclarationModifiers.ReadOnly | DeclarationModifiers.Unsafe;
338
allowedModifiers |= DeclarationModifiers.
Partial
| DeclarationModifiers.Unsafe;
401
if (partCount > 1 && (mods & DeclarationModifiers.
Partial
) == 0)
442
if ((result & DeclarationModifiers.
Partial
) == 0)
474
if ((mods & DeclarationModifiers.
Partial
) == 0)
851
internal bool IsPartial => HasFlag(DeclarationModifiers.
Partial
);
Symbols\Source\SourceMemberMethodSymbol.cs (1)
631
return (this.DeclarationModifiers & DeclarationModifiers.
Partial
) != 0;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
697
var allowedModifiers = DeclarationModifiers.
Partial
| DeclarationModifiers.Unsafe;
721
DeclarationModifiers.
Partial
|
Symbols\Source\SourcePropertySymbol.cs (4)
71
((modifiers & DeclarationModifiers.
Partial
) == 0 || hasGetAccessorImplementation || hasSetAccessorImplementation);
372
var allowedModifiers = DeclarationModifiers.
Partial
| DeclarationModifiers.Unsafe;
448
if ((mods & DeclarationModifiers.
Partial
) != 0)
456
ModifierUtils.ReportUnsupportedModifiersForLanguageVersion(mods, DeclarationModifiers.
Partial
, location, diagnostics, availableVersion, requiredVersion);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1724
internal bool IsPartial => (_modifiers & DeclarationModifiers.
Partial
) != 0;