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