PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Method­Body­Transformation­Options Enumeration

MethodBodyTransformationOptions Enumeration

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
[FlagsAttribute]
public enum MethodBodyTransformationOptions
Members
  Member nameValueDescription
None0 None.
UseBindingType1 Specifies that the transformation creates a binding type (because it's an interception transformation). The effect of this is that MoveMethodBodyTransformationPipeline will be used.
CreateBranch2 Obsolete. Specifies that the transformation creates a branch in the transformation pipeline.
CreateMethodBody4 Specifies that the transformation creates a method body if the method is abstract or extern.
ModifyStateMachine8 Obsolete.
CreateAsyncStateMachine16 Obsolete.
StateMachineAware24
YieldResumeAware32
RequiresCustomAwaiter64
RequiresAwaitedTask128
RequiresAwaitedMethod256
RequiresAsyncCallId512
See Also