Base:
property
IsSealed
Microsoft.CodeAnalysis.CSharp.Symbol.IsSealed
7 references to IsSealed
Microsoft.CodeAnalysis.CSharp (7)
Symbols\Source\SourceMemberContainerSymbol.cs (6)
4100
if (!this.
IsSealed
&& (constructor.DeclaredAccessibility != Accessibility.Public && constructor.DeclaredAccessibility != Accessibility.Protected))
4142
if (!isRecordClass || (this.
IsSealed
&& this.BaseTypeNoUseSiteDiagnostics.IsObjectType()))
4218
if (!SynthesizedRecordObjectMethod.VerifyOverridesMethodFromObject(toStringMethod, SpecialMember.System_Object__ToString, diagnostics) && toStringMethod.IsSealed && !
IsSealed
)
4372
if (!SynthesizedRecordObjectMethod.VerifyOverridesMethodFromObject(getHashCode, SpecialMember.System_Object__GetHashCode, diagnostics) && getHashCode.IsSealed && !
IsSealed
)
4404
if (this.
IsSealed
&& this.BaseTypeNoUseSiteDiagnostics.IsObjectType())
4490
!
IsSealed
&&
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
27
modifiers: (containingType.
IsSealed
, containingType.BaseTypeNoUseSiteDiagnostics.IsObjectType()) switch