Class
CustomAttributeData
class CustomAttributeData
Module: System.Introspection
Assembly: System.Runtime.dll
Source file: Descriptors.rvn
Inheritance: Object → CustomAttributeData
Describes an admitted attribute application without constructing an attribute instance. Development API after Preview 10.
Properties
2 items
AttributeType: TypeInfo
Gets the loaded type declaring the attribute constructor.
Constructor: ConstructorInfo
Gets the constructor selected by the attribute metadata; reading this property does not invoke it.
Methods
6 items
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetConstructorArguments() -> Sequence<CustomAttributeTypedArgument>
Gets typed constructor arguments in declaration order.
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetNamedArguments() -> Sequence<CustomAttributeNamedArgument>
Gets named field/property arguments in metadata order without executing assignments.
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString