public override int GetHashCode()
 {
     if (_Reference != 0)
     {
         return(_Reference);
     }
     else
     {
         return(function.GetHashCode());
     }
 }
Example #2
0
 public override int GetHashCode()
 {
     if (_Reference != 0)
     {
         // elisee: Used to return _Reference
         // which doesn't make sense as you can have different refs
         // to the same function
         return(0);
     }
     else
     {
         return(function.GetHashCode());
     }
 }
Example #3
0
 public override int GetHashCode()
 {
     return(name.GetHashCode() ^ getter.GetHashCode() ^ setter.GetHashCode());
 }
Example #4
0
 public override int GetHashCode()
 {
     return(func.GetHashCode() ^ name.GetHashCode());
 }