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

MethodSpecDeclaration.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#
public 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.

Implements

IMethodSignature.TranslateMethodSignature(ModuleDeclaration)
See Also