Пример #1
0
 public bool Equals(CallAction other)
 {
     if (other == null || other.GetType() != GetType())
     {
         return(false);
     }
     return(_signature.Equals(other._signature));
 }
Пример #2
0
 public bool Equals(InvokeMemberAction other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Name == other.Name && _flags == other._flags && _signature.Equals(other._signature));
 }
Пример #3
0
 public bool Equals(OldCallAction other)
 {
     if (other == null || other.GetType() != GetType())
     {
         return(false);
     }
     if ((object)_binder != (object)other._binder)
     {
         return(false);
     }
     return(_signature.Equals(other._signature));
 }