PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IMethod­Signature Interface / IMethod­Signature Methods / IMethod­Signature.​Translate­Method­Signature Method

IMethodSignature.TranslateMethodSignature Method

Translates the current method signature so that it is meaningful in another module than the one to which it primarily belong.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
IMethodSignature TranslateMethodSignature(
	ModuleDeclaration targetModule
)

Parameters

targetModule
Type: PostSharp.Sdk.CodeModel.ModuleDeclaration
Module into which the method signature should be translated.

Return Value

Type: IMethodSignature
A method signature meaningful in the targetModule module.
See Also