Implement GetHashCode() in TreePath.custom
This fixes a warning about GetHashCode() not being implement while Equals is.
This commit is contained in:
parent
64a0c81868
commit
6556eeb610
1 changed files with 6 additions and 0 deletions
|
@ -39,3 +39,9 @@
|
||||||
|
|
||||||
return (Compare (o as TreePath) == 0);
|
return (Compare (o as TreePath) == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override int GetHashCode ()
|
||||||
|
{
|
||||||
|
return ToString ().GetHashCode ();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue