Browse documentation

Class MethodBaseExtensions

Namespace
HarmonyLib
Assembly
0Harmony.dll

General extensions for collections

public static class MethodBaseExtensions
Inheritance
object
MethodBaseExtensions

Methods

HasMethodBody(MethodBase)

Tests a class member if it has an IL method body (external methods for example don't have a body)

public static bool HasMethodBody(this MethodBase member)

Parameters

member MethodBase

The member to test

Returns

bool

Returns true if the member has an IL body or false if not

Harmony 3 preview

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