MethodBodyRestructureOptions Enumeration |
[Missing <summary> documentation for "T:PostSharp.Sdk.CodeWeaver.MethodBodyRestructureOptions"]
Namespace: PostSharp.Sdk.CodeWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
[FlagsAttribute] public enum MethodBodyRestructureOptions
Member name | Value | Description | |
---|---|---|---|
None | 0 | ||
ChangeReturnInstructions | 1 | Change ret instructions into branching instructions that jump to ReturnBranchTarget. | |
UseLeave | 2 | ||
CreateEntryBlock | 4 | Create an entry block before the PrincipalBlock. | |
CreateLeaveBlock | 8 | Create a leave block after the PrincipalBlock and add ReturnBranchTarget with return instructions to it. | |
CreateNextBlock | 16 | Nest the PrincipalBlock into the NextBlock. |