ReflectionObjectBuilder Class |
Base for classes able to emit instructions that load reflection objects (such as Type, MethodBase, FieldInfo,
... ).
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
C#
public abstract class ReflectionObjectBuilder
The ReflectionObjectBuilder type exposes the following members.
Name | Description | |
---|---|---|
EmitLoadRuntimeReflectionObject(Object, InstructionWriter) | ||
EmitLoadRuntimeReflectionObject(IMetadataDeclaration, Object, InstructionWriter) |
Emits instruction that load the reflection object corresponding to a declaration on the stack.
| |
EmitLoadRuntimeReflectionObject(IMetadataDeclaration, Object, GenericMap, InstructionWriter) |
Emits instruction that load the reflection object corresponding to a declaration on the stack.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetBuilder | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetReflectionObject |
Gets the reflection object compatible with the current ReflectionObjectBuilder,
given another reflection object (typically to map a FieldInfo to a LocationInfo,
for instance).
| |
GetRuntimeReflectionObjectType |
Gets the type of the reflection object.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsCacheable |
Determines whether a reflection object can be cached at runtime.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Assembly |
Gets an object able to emit instructions that load an Assembly.
| |
Dynamic |
Gets an object able to emit instructions that load any reflection object, by dynamically
determining the kind of declaration.
| |
EventInfo |
Gets an object able to emit instructions that load a EventInfo.
| |
FieldInfo |
Gets an object able to emit instructions that load a FieldInfo.
| |
LocationInfo |
Gets an object able to emit instructions that load a LocationInfo.
| |
MethodBase |
Gets an object able to emit instructions that load a MethodBase.
| |
ParameterInfo | ||
PropertyInfo | ||
Type |
Gets an object able to emit instructions that load a Type.
|