25 references to Override
Microsoft.CodeAnalysis.CSharp (25)
Parser\LanguageParser.cs (1)
1318
return DeclarationModifiers.
Override
;
Symbols\Source\LocalFunctionSymbol.cs (1)
363
public override bool IsOverride => (_declarationModifiers & DeclarationModifiers.
Override
) != 0;
Symbols\Source\ModifierUtils.cs (6)
55
Debug.Assert((allowedModifiers & (DeclarationModifiers.
Override
| DeclarationModifiers.Virtual)) == 0);
61
reportStaticNotVirtualForModifiers = allowedModifiers & DeclarationModifiers.
Override
;
65
reportStaticNotVirtualForModifiers = allowedModifiers & (DeclarationModifiers.Abstract | DeclarationModifiers.
Override
| DeclarationModifiers.Virtual);
88
case DeclarationModifiers.
Override
:
315
case DeclarationModifiers.
Override
:
365
return DeclarationModifiers.
Override
;
Symbols\Source\SourceEventSymbol.cs (2)
385
get { return (_modifiers & DeclarationModifiers.
Override
) != 0; }
464
allowedModifiers |= DeclarationModifiers.
Override
;
Symbols\Source\SourceMemberMethodSymbol.cs (2)
176
return (modifiers & (DeclarationModifiers.Abstract | DeclarationModifiers.Virtual | DeclarationModifiers.
Override
)) != 0;
623
return (this.DeclarationModifiers & DeclarationModifiers.
Override
) != 0;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
711
allowedModifiers |= DeclarationModifiers.
Override
;
786
DeclarationModifiers.
Override
|
Symbols\Source\SourcePropertySymbol.cs (1)
390
allowedModifiers |= DeclarationModifiers.
Override
;
Symbols\Source\SourcePropertySymbolBase.cs (1)
582
get { return (_modifiers & DeclarationModifiers.
Override
) != 0; }
Symbols\Synthesized\Records\SynthesizedRecordBaseEquals.cs (1)
20
: base(containingType, WellKnownMemberNames.ObjectEquals, memberOffset, DeclarationModifiers.Public | DeclarationModifiers.
Override
| DeclarationModifiers.Sealed)
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (3)
36
result |= DeclarationModifiers.
Override
;
70
case DeclarationModifiers.
Override
:
72
case DeclarationModifiers.Abstract | DeclarationModifiers.
Override
:
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
31
(_, false) => DeclarationModifiers.Protected | DeclarationModifiers.
Override
Symbols\Synthesized\Records\SynthesizedRecordObjectMethod.cs (1)
16
DeclarationModifiers.Public | DeclarationModifiers.
Override
| (isReadOnly ? DeclarationModifiers.ReadOnly : 0))
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (2)
43
result |= DeclarationModifiers.
Override
;
79
case DeclarationModifiers.
Override
:
Symbols\Synthesized\Records\SynthesizedRecordPropertySymbol.cs (1)
30
modifiers: DeclarationModifiers.Public | (isOverride ? DeclarationModifiers.
Override
: DeclarationModifiers.None),