private static ByteString Create(ByteString1 b, ByteStrings bs) { switch (Compare(b, bs)) { case 3: return new ByteStrings(new LinkedList<ByteString1>(bs.Items).AddFirst(b).List.ToArray(), bs.Count + b.Count); case 2: return bs; case 1: return b; case 0: return Empty; } throw new ArgumentOutOfRangeException(); }
private static ByteString Create(ByteString1 b, ByteStrings bs) { switch (Compare(b, bs)) { case 3: return(new ByteStrings(new LinkedList <ByteString1>(bs.Items).AddFirst(b).List.ToArray(), bs.Count + b.Count)); case 2: return(bs); case 1: return(b); case 0: return(Empty); } throw new ArgumentOutOfRangeException(); }