Browse documentation

Enum MethodType

Namespace
HarmonyLib
Assembly
0Harmony.dll

Specifies the type of method

public enum MethodType

Fields

Constructor = 3

This is a constructor

Enumerator = 5

This targets the MoveNext method of the enumerator result, that actually contains the method's implementation

EventAdd = 8

This is a add event method

EventRemove = 9

This is a remove event method

Finalizer = 7

Finalize

Getter = 1

This is a getter

Normal = 0

This is a normal method

OperatorAddition = 20

This is a op_Addition

OperatorBitwiseAnd = 25

This is a op_BitwiseAnd

OperatorBitwiseOr = 26

This is a op_BitwiseOr

OperatorComma = 36

This is a op_Comma

OperatorDecrement = 17

This is a op_Decrement

OperatorDivision = 23

This is a op_Division

OperatorEquality = 30

This is a op_Equality

OperatorExclusiveOr = 27

This is a op_ExclusiveOr

OperatorExplicit = 11

This is a op_Explicit

OperatorFalse = 19

This is a op_False

OperatorGreaterThan = 32

This is a op_GreaterThan

OperatorGreaterThanOrEqual = 34

This is a op_GreaterThanOrEqual

OperatorImplicit = 10

This is a op_Implicit

OperatorIncrement = 16

This is a op_Increment

OperatorInequality = 31

This is a op_Inequality

OperatorLeftShift = 28

This is a op_LeftShift

OperatorLessThan = 33

This is a op_LessThan

OperatorLessThanOrEqual = 35

This is a op_LessThanOrEqual

OperatorLogicalNot = 14

This is a op_LogicalNot

OperatorModulus = 24

This is a op_Modulus

OperatorMultiply = 22

This is a op_Multiply

OperatorOnesComplement = 15

This is a op_OnesComplement

OperatorRightShift = 29

This is a op_RightShift

OperatorSubtraction = 21

This is a op_Subtraction

OperatorTrue = 18

This is a op_True

OperatorUnaryNegation = 13

This is a op_UnaryNegation

OperatorUnaryPlus = 12

This is a op_UnaryPlus

Setter = 2

This is a setter

StaticConstructor = 4

This is a static constructor

Harmony 3 preview

For the stable release, read the 2.x documentation.