Show / Hide Table of Contents

Class MethodBaseExtensions

General extensions for collections

Inheritance
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
MethodBase member

The member to test

Returns
Type Description
bool

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

In this article
Back to top Generated by DocFX