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