Class MethodBaseExtensions
- Namespace
- HarmonyLib
- Assembly
- 0Harmony.dll
General extensions for collections
public static class MethodBaseExtensions
- Inheritance
-
objectMethodBaseExtensions
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
memberMethodBaseThe member to test
Returns
- bool
Returns true if the member has an IL body or false if not