예제 #1
0
 public bool Equals(RemotePointer other)
 {
     if (other is null)
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(m_Process.Equals(other.m_Process) && BaseAddress.Equals(other.BaseAddress));
 }
예제 #2
0
 public bool Equals(RemotePatch other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(m_Process.Equals(other.m_Process) &&
            Address.Equals(other.Address) &&
            string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase));
 }