PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Runtime­Instance­Field Class

AspectRuntimeInstanceField Class

Encapsulates the field storing the runtime aspect instance.
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class AspectRuntimeInstanceField

The AspectRuntimeInstanceField type exposes the following members.

Public propertyInstanceField
Gets the field containing the instance aspect instance, i.e. the aspect instance with instance scope. This property is null if IsStatic is true.
Public propertyInstanceFieldCanonicalGenericInstance
Gets the canonical generic instance of InstanceField.
Public propertyIsStatic
Determines whether the aspect instance has static scope, and therefore does not have an InstanceField.
Public propertyPrototypeField
Gets the field containing the prototype aspect instance, i.e. the aspect instance with static scope.
Public methodEmitLoadField
Emits instructions that load the value of the field, i.e. load the aspect instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also