Base:
property
IsSealed
Microsoft.CodeAnalysis.CSharp.Symbol.IsSealed
11 references to IsSealed
Microsoft.CodeAnalysis.CSharp (11)
Symbols\Source\SourceMemberContainerSymbol.cs (6)
4379if (!this.IsSealed && (constructor.DeclaredAccessibility != Accessibility.Public && constructor.DeclaredAccessibility != Accessibility.Protected)) 4422if (!isRecordClass || (this.IsSealed && this.BaseTypeNoUseSiteDiagnostics.IsObjectType())) 4496if (!SynthesizedRecordObjectMethod.VerifyOverridesMethodFromObject(toStringMethod, SpecialMember.System_Object__ToString, diagnostics) && toStringMethod.IsSealed && !IsSealed) 4652if (!SynthesizedRecordObjectMethod.VerifyOverridesMethodFromObject(getHashCode, SpecialMember.System_Object__GetHashCode, diagnostics) && getHashCode.IsSealed && !IsSealed) 4684if (this.IsSealed && this.BaseTypeNoUseSiteDiagnostics.IsObjectType()) 4771!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;