Equality Operator
Collapse the table of content
Expand the table of content

MethodToken.Equality Operator (MethodToken, MethodToken)

 
equivalentCodeEntityM:System.Reflection.Emit.MethodToken.Equals(System.Reflection.Emit.MethodToken,System.Reflection.Emit.MethodToken)

Indicates whether two MethodToken structures are equal.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public static bool operator ==(
	MethodToken a,
	MethodToken b
)

Parameters

a
Type: System.Reflection.Emit.MethodToken

The MethodToken to compare to b.

b
Type: System.Reflection.Emit.MethodToken

The MethodToken to compare to a.

Return Value

Type: System.Boolean

true if a is equal to b; otherwise, false.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Return to top
Show:
© 2016 Microsoft