PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Reflection­Object­Builder Class / Reflection­Object­Builder Methods / Reflection­Object­Builder.​Get­Reflection­Object Method

ReflectionObjectBuilder.GetReflectionObject Method

Gets the reflection object compatible with the current ReflectionObjectBuilder, given another reflection object (typically to map a FieldInfo to a LocationInfo, for instance).

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public virtual Object GetReflectionObject(
	Object reflectionObject
)

Parameters

reflectionObject
Type: System.Object
The original reflection object.

Return Value

Type: Object
A reflection object compatible with the current ReflectionObjectBuilder.
See Also