PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Weaver Namespace / IMethod­Body­Restructurer(!0) Interface

IMethodBodyRestructurer<!0> Interface

[Missing <summary> documentation for "T:PostSharp.Sdk.CodeWeaver.IMethodBodyRestructurer`1"]

Namespace:  PostSharp.Sdk.CodeWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public interface IMethodBodyRestructurer<out !0>
where !0 : IMethodBodyRestructureResult

Type Parameters

!0

[Missing <typeparam name="!0"/> documentation for "T:PostSharp.Sdk.CodeWeaver.IMethodBodyRestructurer`1"]

The IMethodBodyRestructurer<!0> type exposes the following members.

Methods
  NameDescription
Public methodRestructure
Rewrites the IL code of the method associated with this restructurer and returns references to some points in the rewritten IL code.
See Also