MethodInfo.Equality(MethodInfo, MethodInfo) Operator

Definition

Indicates whether two MethodInfo objects are equal.

C#
public static bool operator ==(System.Reflection.MethodInfo? left, System.Reflection.MethodInfo? right);
C#
public static bool operator ==(System.Reflection.MethodInfo left, System.Reflection.MethodInfo right);

Parameters

left
MethodInfo

The first object to compare.

right
MethodInfo

The second object to compare.

Returns

true if left is equal to right; otherwise, false.

Applies to