Class
DynamicallyAccessedMembersAttribute
class DynamicallyAccessedMembersAttribute
Module: System.Diagnostics.CodeAnalysis
Assembly: System.Runtime.dll
Source file: DynamicallyAccessedMembersAttribute.rvn
Inheritance: Object → Attribute → DynamicallyAccessedMembersAttribute
Declares the members required on a TypeInfo parameter, return value, field, property generic parameter or TypeInfo method receiver during native compilation. Unknown flows produce diagnostics; unsupported member flags are rejected. String type-name flow remains unsupported.
Constructors
1 item
DynamicallyAccessedMembersAttribute(memberTypes: DynamicallyAccessedMemberTypes)
Records the required member categories using the standard .NET flag values.
Properties
1 item
MemberTypes: DynamicallyAccessedMemberTypes
Gets the member requirements declared by this annotation.
Methods
4 items
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
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