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