Show / Hide Table of Contents

Class MethodBaseExtensions

General extensions for collections

Inheritance
System.Object
MethodBaseExtensions
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public static class MethodBaseExtensions

Methods

HasMethodBody(MethodBase)

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

Declaration
public static bool HasMethodBody(this MethodBase member)
Parameters
Type Name Description
System.Reflection.MethodBase member

The member to test

Returns
Type Description
System.Boolean

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

Back to top Generated by DocFX