43 references to Abstract
Microsoft.CodeAnalysis.CSharp (43)
Parser\LanguageParser.cs (1)
1308return DeclarationModifiers.Abstract;
Symbols\Source\LocalFunctionSymbol.cs (1)
365public override bool IsAbstract => (_declarationModifiers & DeclarationModifiers.Abstract) != 0;
Symbols\Source\ModifierUtils.cs (10)
65reportStaticNotVirtualForModifiers = allowedModifiers & (DeclarationModifiers.Abstract | DeclarationModifiers.Override | DeclarationModifiers.Virtual); 87case DeclarationModifiers.Abstract: 157(modifiers & defaultInterfaceImplementationModifiers & (DeclarationModifiers.Sealed | DeclarationModifiers.Abstract | DeclarationModifiers.Virtual)) != 0) 159var reportModifiers = DeclarationModifiers.Sealed | DeclarationModifiers.Abstract | DeclarationModifiers.Virtual; 161(modifiers & defaultInterfaceImplementationModifiers & (DeclarationModifiers.Abstract | DeclarationModifiers.Virtual)) != 0) 230if ((mods & DeclarationModifiers.Abstract) != 0) 239else if ((mods & (DeclarationModifiers.Private | DeclarationModifiers.Partial | DeclarationModifiers.Virtual | DeclarationModifiers.Abstract)) == 0) 256mods |= DeclarationModifiers.Abstract; 279case DeclarationModifiers.Abstract: 337return DeclarationModifiers.Abstract;
Symbols\Source\SourceEventSymbol.cs (4)
370get { return (_modifiers & DeclarationModifiers.Abstract) != 0; } 457DeclarationModifiers.Abstract | 474DeclarationModifiers.Abstract | 487allowedModifiers |= DeclarationModifiers.Abstract;
Symbols\Source\SourceMemberContainerSymbol.cs (4)
319allowedModifiers |= DeclarationModifiers.Partial | DeclarationModifiers.Sealed | DeclarationModifiers.Abstract 355(mods & DeclarationModifiers.Abstract) != 0 && 370mods |= DeclarationModifiers.Abstract; 849public override bool IsAbstract => HasFlag(DeclarationModifiers.Abstract);
Symbols\Source\SourceMemberFieldSymbol.cs (3)
180DeclarationModifiers.Abstract | 188if ((result & DeclarationModifiers.Abstract) != 0) 191result &= ~DeclarationModifiers.Abstract;
Symbols\Source\SourceMemberMethodSymbol.cs (2)
176return (modifiers & (DeclarationModifiers.Abstract | DeclarationModifiers.Virtual | DeclarationModifiers.Override)) != 0; 615return (this.DeclarationModifiers & DeclarationModifiers.Abstract) != 0;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (3)
704DeclarationModifiers.Abstract | 716DeclarationModifiers.Abstract | 731allowedModifiers |= DeclarationModifiers.Abstract;
Symbols\Source\SourcePropertySymbol.cs (4)
69bool allowAutoPropertyAccessors = (modifiers & (DeclarationModifiers.Abstract | DeclarationModifiers.Extern | DeclarationModifiers.Indexer)) == 0 && 379DeclarationModifiers.Abstract | 404DeclarationModifiers.Abstract | 417allowedModifiers |= DeclarationModifiers.Abstract;
Symbols\Source\SourcePropertySymbolBase.cs (1)
544get { return (_modifiers & DeclarationModifiers.Abstract) != 0; }
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (7)
140allowedModifiers |= DeclarationModifiers.Abstract | DeclarationModifiers.Virtual; 151allowedModifiers |= DeclarationModifiers.Abstract; 160if ((result & (DeclarationModifiers.Abstract | DeclarationModifiers.Virtual | DeclarationModifiers.Sealed)) != 0) 163(result & (DeclarationModifiers.Abstract | DeclarationModifiers.Virtual)) != 0) 177if ((result & DeclarationModifiers.Abstract) != 0) 179reportModifierIfPresent(result, DeclarationModifiers.Abstract, location, diagnostics, requiredVersionArgument, availableVersionArgument); 199if ((result & DeclarationModifiers.Abstract) != 0)
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (3)
46result |= DeclarationModifiers.Abstract; 68case DeclarationModifiers.Abstract: 72case DeclarationModifiers.Abstract | DeclarationModifiers.Override: