Description:
Address some warnings.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -21,11 +21,16 | |||||
|
21 | return !(left == right); |
|
21 | return !(left == right); |
|
22 | } |
|
22 | } |
|
23 |
|
23 | ||
|
24 | public bool Equals(Object other) { |
|
24 | public override bool Equals(Object other) { |
|
25 | return ((other != null) |
|
25 | return ((other != null) |
|
26 | && ! this.GetType().Equals(other.GetType()) |
|
26 | && ! this.GetType().Equals(other.GetType()) |
|
27 | && this == (Edge)other); //we just confirmed the types match so this is okay |
|
27 | && this == (Edge)other); //we just confirmed the types match so this is okay |
|
28 | } |
|
28 | } |
|
|
29 | |||
|
|
30 | public override int GetHashCode() { | ||
|
|
31 | // return HashCode.Combine(Start, End); | ||
|
|
32 | return (Start, End).GetHashCode(); | ||
|
|
33 | } | ||
|
29 |
|
34 | ||
|
30 | } |
|
35 | } |
|
31 | public class Tile |
|
36 | public class Tile |
You need to be logged in to leave comments.
Login now