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