public bool CompareTo(SpokeMethodType grb, bool allowLeftUnset)
        {
            if (grb == null)
            {
                return false;
            }
            if (grb.Params.Length != Params.Length)
                return false;
            if (!grb.Return.CompareTo(Return, allowLeftUnset))
                return false;

            for (int index = 0; index < Params.Length; index++)
            {
                var spokeType = Params[index];
                if (!spokeType.CompareTo(grb.Params[index], allowLeftUnset))
                {
                    return false;
                }
            }

            return true;
        }
 public SpokeType(SpokeType t)
 {
     Type = t.Type;
     ClassName = t.ClassName;
     ArrayItemType = t.ArrayItemType;
     ByRef = t.ByRef;
     if (t.Variables != null)
         Variables = new SpokeVariableInfo(t.Variables);
     if (t.MethodType != null)
         MethodType = new SpokeMethodType(t.MethodType);
 }
 public SpokeMethodType(SpokeMethodType methodType)
 {
     Params = (SpokeType[])methodType.Params.Clone();
     Return = new SpokeType(methodType.Return);
 }