API Browser

Class

ClosedHierarchyAttribute

class ClosedHierarchyAttribute

Namespace: System.Runtime.CompilerServices
Assembly: Raven.CodeAnalysis.dll
Source file: ClosedHierarchyAttribute.cs

Inheritance: Object → Attribute → ClosedHierarchyAttribute

Carries the permitted direct subtypes of a closed hierarchy until the runtime provides the well-known metadata contract.

Constructors

1 item
ClosedHierarchyAttribute(permittedTypes: ...Type[]) Carries the permitted direct subtypes of a closed hierarchy until the runtime provides the well-known metadata contract.

Properties

2 items
PermittedTypes: Type[] No summary available.
TypeId: object When implemented in a derived class, gets a unique identifier for this System.Attribute. Inherited from Attribute.TypeId

Methods

6 items
Equals(obj: object?) -> bool Returns a value that indicates whether this instance is equal to a specified object. Inherited from Attribute.Equals
GetHashCode() -> int Returns the hash code for this instance. Inherited from Attribute.GetHashCode
GetType() -> Type Gets the System.Type of the current instance. Inherited from Object.GetType
IsDefaultAttribute() -> bool When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. Inherited from Attribute.IsDefaultAttribute
Match(obj: object?) -> bool When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. Inherited from Attribute.Match
ToString() -> string? Returns a string that represents the current object. Inherited from Object.ToString