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