MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​Reflection.​Method­BodyMethod­Body­Element­Kind
Open sandboxFocus

MethodBodyElementKind Class

The source code of method bodies and expression bodies is not represented in the high-level API of Metalama. If you need to access source code from an aspect, you must implement a service using Metalama SDK.

Inheritance
System.Object
MethodBodyElementKind
Namespace: PostSharp.Reflection.MethodBody
Assembly: Metalama.Migration.dll
Syntax
public sealed class MethodBodyElementKind : Enum

Fields

Name Description
Add
AddChecked
AddressOf
And
ArgumentList
ArrayIndex
ArrayLength
Assign
Block
Box
Cast
CheckFinite
Conditional
Constant
Convert
ConvertChecked
CopyBuffer
DefaultValue
Different
Divide
Equal
Field
Goto
GreaterThan
GreaterThanOrEqual
InitBuffer
LessThan
LessThanOrEqual
LoadToken
LocalAlloc
LocalVariableDefinition
MakeTypedReference
MethodBody
MethodCall
MethodPointer
Modulo
Multiply
MultiplyChecked
Negate
NewArray
NewObject
Not
Or
Parameter
Rethrow
Return
SafeCast
ShiftLeft
ShiftRight
SizeOf
Statement
Substract
SubstractChecked
Switch
This
Throw
TypedReferenceType
TypedReferenceValue
Unbox
value__
ValueOf
Variable
Xor

See Also