PostSharp SDK 6.7 / / 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
System.Object
  PostSharp.Sdk.AspectWeaver.AspectRuntimeInstanceField

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public sealed class AspectRuntimeInstanceField

The AspectRuntimeInstanceField type exposes the following members.

Properties
  NameDescription
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.
Methods
  NameDescription
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