Base:
property
IsSealed
Microsoft.CodeAnalysis.CSharp.Symbol.IsSealed
12 references to IsSealed
Microsoft.CodeAnalysis.CSharp (12)
Symbols\Source\SourceMemberContainerSymbol.cs (6)
4454if (!this.IsSealed && (constructor.DeclaredAccessibility != Accessibility.Public && constructor.DeclaredAccessibility != Accessibility.Protected)) 4497if (!isRecordClass || (this.IsSealed && this.BaseTypeNoUseSiteDiagnostics.IsObjectType())) 4571if (!SynthesizedRecordObjectMethod.VerifyOverridesMethodFromObject(toStringMethod, SpecialMember.System_Object__ToString, diagnostics) && toStringMethod.IsSealed && !IsSealed) 4727if (!SynthesizedRecordObjectMethod.VerifyOverridesMethodFromObject(getHashCode, SpecialMember.System_Object__GetHashCode, diagnostics) && getHashCode.IsSealed && !IsSealed) 4759if (this.IsSealed && this.BaseTypeNoUseSiteDiagnostics.IsObjectType()) 4846!IsSealed &&
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1956|| !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;