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

ReflectionObjectBuilder.GetRuntimeReflectionObjectType Method

Gets the type of the reflection object.

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 abstract ITypeSignature GetRuntimeReflectionObjectType(
	IMetadataDeclaration declaration,
	ModuleDeclaration module
)

Parameters

declaration
Type: PostSharp.Sdk.CodeModel.IMetadataDeclaration
Declaration whose reflection object type is required (useful for if the current object is the Dynamic builder).
module
Type: PostSharp.Sdk.CodeModel.ModuleDeclaration
Module in which the ITypeSignature should be expressed.

Return Value

Type: ITypeSignature
The type of reflection object required by declaration.
See Also