Example #1
0
 public void MergeFrom(DebugResult other)
 {
     if (other == null)
     {
         return;
     }
     if (other.inputViews_ != null)
     {
         if (inputViews_ == null)
         {
             inputViews_ = new global::Pb.viewInfos();
         }
         InputViews.MergeFrom(other.InputViews);
     }
     if (other.outputViews_ != null)
     {
         if (outputViews_ == null)
         {
             outputViews_ = new global::Pb.viewInfos();
         }
         OutputViews.MergeFrom(other.OutputViews);
     }
     if (other.Result.Length != 0)
     {
         Result = other.Result;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (inputViews_ != null)
            {
                hash ^= InputViews.GetHashCode();
            }
            if (outputViews_ != null)
            {
                hash ^= OutputViews.GetHashCode();
            }
            if (Result.Length != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }