7 references to IsEffectivelySealed
Microsoft.DotNet.ApiCompatibility (4)
Rules\CannotAddAbstractMember.cs (1)
34if (leftContainingType.TypeKind != TypeKind.Interface && !leftContainingType.IsEffectivelySealed(_settings.IncludeInternalSymbols))
Rules\CannotAddOrRemoveVirtualKeyword.cs (1)
53if (leftContainingType.IsEffectivelySealed(_settings.IncludeInternalSymbols))
Rules\CannotSealType.cs (2)
28bool isLeftSealed = left.IsEffectivelySealed(_settings.IncludeInternalSymbols); 29bool isRightSealed = right.IsEffectivelySealed(_settings.IncludeInternalSymbols);
Microsoft.DotNet.ApiSymbolExtensions (3)
SymbolExtensions.cs (3)
118Accessibility.Protected => includeEffectivelyPrivateSymbols || symbol.ContainingType == null || !IsEffectivelySealed(symbol.ContainingType, includeInternalSymbols), 119Accessibility.ProtectedOrInternal => includeEffectivelyPrivateSymbols || includeInternalSymbols || symbol.ContainingType == null || !IsEffectivelySealed(symbol.ContainingType, includeInternalSymbols), 120Accessibility.ProtectedAndInternal => includeInternalSymbols && (includeEffectivelyPrivateSymbols || symbol.ContainingType == null || !IsEffectivelySealed(symbol.ContainingType, includeInternalSymbols)),