Base:
property
IsOverride
Microsoft.CodeAnalysis.CSharp.Symbol.IsOverride
26 references to IsOverride
Microsoft.CodeAnalysis.CSharp (18)
Symbols\Source\SourceConstructorSymbol.cs (1)
151else if (ContainingType.IsSealed && this.DeclaredAccessibility.HasProtected() && !this.IsOverride)
Symbols\Source\SourceEventAccessorSymbol.cs (1)
226if (this.IsOverride)
Symbols\Source\SourceMemberMethodSymbol.cs (1)
455return this.IsOverride ?
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
108if (this.IsOverride)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (4)
169if (this.Arity != 0 && (syntax.ExplicitInterfaceSpecifier != null || IsOverride)) 538if (this.IsOverride) 704|| definition.IsOverride != implementation.IsOverride
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (5)
321Debug.Assert(!IsStatic || !IsOverride); // Otherwise should have been reported and cleared earlier. 347else if (this.DeclaredAccessibility == Accessibility.Private && (IsVirtual || (IsAbstract && !isExplicitInterfaceImplementationInInterface) || IsOverride)) 351else if (IsOverride && (IsNew || IsVirtual)) 356else if (IsSealed && !IsOverride && !(isExplicitInterfaceImplementationInInterface && IsAbstract)) 416else if (ContainingType.IsSealed && this.DeclaredAccessibility.HasProtected() && !this.IsOverride)
Symbols\Source\SourcePropertyAccessorSymbol.cs (3)
267else if (this.IsOverride) 542else if (ContainingType.IsSealed && localAccessibility.HasProtected() && !this.IsOverride) 676else if (IsOverride)
Symbols\Source\SourceTypeParameterSymbol.cs (1)
802Debug.Assert(overridingMethod.IsOverride);
Symbols\TypeWithAnnotations.cs (1)
317(declaringMethod.IsOverride || declaringMethod.IsExplicitInterfaceImplementation));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\RecordStructTests.cs (2)
4312Assert.False(recordEquals.IsOverride); 4321Assert.True(objectEquals.IsOverride);
Semantics\RecordTests.cs (6)
18094Assert.False(recordEquals.IsOverride); 18203Assert.False(recordEquals.IsOverride); 18467Assert.False(recordEquals.IsOverride); 18627Assert.False(recordEquals.IsOverride); 18666Assert.False(recordEquals.IsOverride); 18702Assert.False(recordEquals.IsOverride);