PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / INotify­Move­Method­Body­Service Interface / INotify­Move­Method­Body­Service Methods / INotify­Move­Method­Body­Service.​Move­Method­Body Method

INotifyMoveMethodBodyService.MoveMethodBody Method

[Missing <summary> documentation for "M:PostSharp.Sdk.Extensibility.Tasks.INotifyMoveMethodBodyService.MoveMethodBody(PostSharp.Sdk.CodeModel.MethodDefDeclaration,PostSharp.Sdk.CodeModel.MethodDefDeclaration)"]

Namespace:  PostSharp.Sdk.Extensibility.Tasks
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
void MoveMethodBody(
	MethodDefDeclaration sourceMethod,
	MethodDefDeclaration targetMethod
)

Parameters

sourceMethod
Type: PostSharp.Sdk.CodeModel.MethodDefDeclaration

[Missing <param name="sourceMethod"/> documentation for "M:PostSharp.Sdk.Extensibility.Tasks.INotifyMoveMethodBodyService.MoveMethodBody(PostSharp.Sdk.CodeModel.MethodDefDeclaration,PostSharp.Sdk.CodeModel.MethodDefDeclaration)"]

targetMethod
Type: PostSharp.Sdk.CodeModel.MethodDefDeclaration

[Missing <param name="targetMethod"/> documentation for "M:PostSharp.Sdk.Extensibility.Tasks.INotifyMoveMethodBodyService.MoveMethodBody(PostSharp.Sdk.CodeModel.MethodDefDeclaration,PostSharp.Sdk.CodeModel.MethodDefDeclaration)"]

See Also