35 references to Partial
Microsoft.CodeAnalysis.CSharp (35)
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)
1326return DeclarationModifiers.Partial; 1335return DeclarationModifiers.Partial; 1380case DeclarationModifiers.Partial: 8576if (modifier == DeclarationModifiers.Partial)
Symbols\Source\ModifierUtils.cs (9)
84case DeclarationModifiers.Partial: 238DeclarationModifiers.Partial, 239DeclarationModifiers.Partial, 261else if ((mods & (DeclarationModifiers.Private | DeclarationModifiers.Partial | DeclarationModifiers.Virtual | DeclarationModifiers.Abstract)) == 0) 284if ((mods & DeclarationModifiers.Partial) == 0 && !isExplicitInterfaceImplementation) 329case DeclarationModifiers.Partial: 381return DeclarationModifiers.Partial; 423if (one == DeclarationModifiers.Partial) 492(symbol.Kind != SymbolKind.Method || (modifiers & DeclarationModifiers.Partial) == 0) &&
Symbols\Source\SourceConstructorSymbol.cs (1)
147allowedModifiers |= DeclarationModifiers.Partial;
Symbols\Source\SourceEventSymbol.cs (2)
505var allowedModifiers = DeclarationModifiers.Partial | DeclarationModifiers.Unsafe; 906internal bool IsPartial => (this.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)
643return (this.DeclarationModifiers & DeclarationModifiers.Partial) != 0;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
707var allowedModifiers = DeclarationModifiers.Partial | DeclarationModifiers.Unsafe; 731DeclarationModifiers.Partial |
Symbols\Source\SourcePropertySymbol.cs (4)
71((modifiers & DeclarationModifiers.Partial) == 0 || hasGetAccessorImplementation || hasSetAccessorImplementation); 385var allowedModifiers = DeclarationModifiers.Partial | DeclarationModifiers.Unsafe; 450if ((mods & DeclarationModifiers.Partial) != 0) 458ModifierUtils.ReportUnsupportedModifiersForLanguageVersion(mods, DeclarationModifiers.Partial, location, diagnostics, availableVersion, requiredVersion);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1717internal bool IsPartial => (_modifiers & DeclarationModifiers.Partial) != 0;