Base:
property
IsSealed
Microsoft.CodeAnalysis.CSharp.Symbol.IsSealed
11 references to IsSealed
Microsoft.CodeAnalysis.CSharp (11)
Symbols\Source\SourceMemberContainerSymbol.cs (6)
4365if (!this.IsSealed && (constructor.DeclaredAccessibility != Accessibility.Public && constructor.DeclaredAccessibility != Accessibility.Protected)) 4408if (!isRecordClass || (this.IsSealed && this.BaseTypeNoUseSiteDiagnostics.IsObjectType())) 4482if (!SynthesizedRecordObjectMethod.VerifyOverridesMethodFromObject(toStringMethod, SpecialMember.System_Object__ToString, diagnostics) && toStringMethod.IsSealed && !IsSealed) 4638if (!SynthesizedRecordObjectMethod.VerifyOverridesMethodFromObject(getHashCode, SpecialMember.System_Object__GetHashCode, diagnostics) && getHashCode.IsSealed && !IsSealed) 4670if (this.IsSealed && this.BaseTypeNoUseSiteDiagnostics.IsObjectType()) 4757!IsSealed &&
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
40result |= containingType.IsSealed ? DeclarationModifiers.None : DeclarationModifiers.Virtual;
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
27modifiers: (containingType.IsSealed, containingType.BaseTypeNoUseSiteDiagnostics.IsObjectType()) switch
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
24(containingType.IsSealed ? 0 : DeclarationModifiers.Virtual) |
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (2)
37var result = (containingType.IsRecordStruct || (containingType.BaseTypeNoUseSiteDiagnostics.IsObjectType() && containingType.IsSealed)) ? 47result |= containingType.IsSealed ? DeclarationModifiers.None : DeclarationModifiers.Virtual;