Lines Matching defs:lhs
336 /// <param name="lhs">The first byte string to compare.</param>
339 public static bool operator ==(ByteString lhs, ByteString rhs)
341 if (ReferenceEquals(lhs, rhs))
345 if (ReferenceEquals(lhs, null) || ReferenceEquals(rhs, null))
349 if (lhs.bytes.Length != rhs.bytes.Length)
353 for (int i = 0; i < lhs.Length; i++)
355 if (rhs.bytes[i] != lhs.bytes[i])
366 /// <param name="lhs">The first byte string to compare.</param>
369 public static bool operator !=(ByteString lhs, ByteString rhs)
371 return !(lhs == rhs);