Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJb Evain <jbevain@gmail.com>2015-06-01 16:44:44 +0300
committerJb Evain <jbevain@gmail.com>2015-06-01 16:44:44 +0300
commit9c98d265a1f22b0e331d8b08af9683c3faf62cb7 (patch)
treeb4b53222ea6c2e81a005542fc0f3d872c84fa312
parentb2aff21c220b3736beccdf03a708989712d33913 (diff)
Make OpCode implement IEquatable
-rw-r--r--Mono.Cecil.Cil/OpCode.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mono.Cecil.Cil/OpCode.cs b/Mono.Cecil.Cil/OpCode.cs
index d8c6800..81ab0e1 100644
--- a/Mono.Cecil.Cil/OpCode.cs
+++ b/Mono.Cecil.Cil/OpCode.cs
@@ -8,6 +8,8 @@
// Licensed under the MIT/X11 license.
//
+using System;
+
namespace Mono.Cecil.Cil {
public enum FlowControl {
@@ -86,7 +88,7 @@ namespace Mono.Cecil.Cil {
Varpush,
}
- public struct OpCode {
+ public struct OpCode : IEquatable<OpCode> {
readonly byte op1;
readonly byte op2;