OpCode.Equality Operator (OpCode, OpCode)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Indicates whether two OpCode structures are equal.

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

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

Parameters

a
Type: System.Reflection.Emit.OpCode

The OpCode to compare to b.

b
Type: System.Reflection.Emit.OpCode

The OpCode to compare to a.

Return Value

Type: System.Boolean

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Windows Phone
Available since 8.1
Return to top
Show: