Table of Contents

Method Is

Namespace
MonoMod.Utils
Assembly
MonoMod.Utils.dll

Is(MemberInfo?, MemberReference?)

Check if the signatures of a given System.Reflection and Mono.Cecil member reference match.
public static bool Is(this MemberInfo? minfo, MemberReference? mref)

Parameters

minfo MemberInfo
The System.Reflection member reference.
mref MemberReference
The Mono.Cecil member reference.

Returns

bool
True if both references share the same signature, false otherwise.

Is(MemberReference?, MemberInfo?)

Check if the signatures of a given System.Reflection and Mono.Cecil member reference match.
public static bool Is(this MemberReference? mref, MemberInfo? minfo)

Parameters

mref MemberReference
The Mono.Cecil member reference.
minfo MemberInfo
The System.Reflection member reference.

Returns

bool
True if both references share the same signature, false otherwise.

Is(MemberReference, string)

public static bool Is(this MemberReference member, string fullName)

Parameters

member MemberReference
fullName string

Returns

bool

Is(MemberReference, string, string)

public static bool Is(this MemberReference member, string typeFullName, string name)

Parameters

member MemberReference
typeFullName string
name string

Returns

bool

Is(MemberReference, Type, string)

public static bool Is(this MemberReference member, Type type, string name)

Parameters

member MemberReference
type Type
name string

Returns

bool

Is(MethodReference, string)

public static bool Is(this MethodReference method, string fullName)

Parameters

method MethodReference
fullName string

Returns

bool

Is(MethodReference, string, string)

public static bool Is(this MethodReference method, string typeFullName, string name)

Parameters

method MethodReference
typeFullName string
name string

Returns

bool

Is(MethodReference, Type, string)

public static bool Is(this MethodReference method, Type type, string name)

Parameters

method MethodReference
type Type
name string

Returns

bool