diff --git a/MBS.Framework/NativeHandle.cs b/MBS.Framework/NativeHandle.cs index e0b9081..a4b26dc 100644 --- a/MBS.Framework/NativeHandle.cs +++ b/MBS.Framework/NativeHandle.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace MBS.Framework { public class NativeHandle @@ -17,6 +17,11 @@ namespace MBS.Framework { return Handle.GetHashCode(); } + + public bool Equals(NativeHandle other) + { + return this.Handle.Equals(other.Handle); + } public override bool Equals(object obj) { if ((object)obj == null && (object)this == null)