PostSharp SDK 6.7 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Reflection­Object­Builder Class

ReflectionObjectBuilder Class

Base for classes able to emit instructions that load reflection objects (such as Type, MethodBase, FieldInfo, ... ).
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectWeaver.ReflectionObjectBuilder

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 abstract class ReflectionObjectBuilder

The ReflectionObjectBuilder type exposes the following members.

Methods
  NameDescription
Public methodEmitLoadRuntimeReflectionObject(Object, InstructionWriter)
Public methodEmitLoadRuntimeReflectionObject(IMetadataDeclaration, Object, InstructionWriter)
Emits instruction that load the reflection object corresponding to a declaration on the stack.
Public methodEmitLoadRuntimeReflectionObject(IMetadataDeclaration, Object, GenericMap, InstructionWriter)
Emits instruction that load the reflection object corresponding to a declaration on the stack.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetBuilder
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetReflectionObject
Gets the reflection object compatible with the current ReflectionObjectBuilder, given another reflection object (typically to map a FieldInfo to a LocationInfo, for instance).
Public methodGetRuntimeReflectionObjectType
Gets the type of the reflection object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsCacheable
Determines whether a reflection object can be cached at runtime.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Fields
  NameDescription
Public fieldStatic memberAssembly
Gets an object able to emit instructions that load an Assembly.
Public fieldStatic memberDynamic
Gets an object able to emit instructions that load any reflection object, by dynamically determining the kind of declaration.
Public fieldStatic memberEventInfo
Gets an object able to emit instructions that load a EventInfo.
Public fieldStatic memberFieldInfo
Gets an object able to emit instructions that load a FieldInfo.
Public fieldStatic memberLocationInfo
Gets an object able to emit instructions that load a LocationInfo.
Public fieldStatic memberMethodBase
Gets an object able to emit instructions that load a MethodBase.
Public fieldStatic memberParameterInfo
Public fieldStatic memberPropertyInfo
Public fieldStatic memberType
Gets an object able to emit instructions that load a Type.
See Also