Commit 2114d39f authored by Jérémy VIGNELLES's avatar Jérémy VIGNELLES

fixed build warning

parent 3009d4b1
......@@ -10,6 +10,24 @@ namespace VideoLAN.LibVLC
{
public class Instance
{
protected bool Equals(Instance other)
{
return NativeReference.Equals(other.NativeReference);
}
public override bool Equals(object obj)
{
if (ReferenceEquals(null, obj)) return false;
if (ReferenceEquals(this, obj)) return true;
if (obj.GetType() != this.GetType()) return false;
return Equals((Instance) obj);
}
public override int GetHashCode()
{
return NativeReference.GetHashCode();
}
[StructLayout(LayoutKind.Explicit, Size = 0)]
internal struct Internal
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment