private void GetResponseStreamHelper() { this.responseFlags = "1,0,0,0,0"; this.responseContentType = "text/xml"; try { long num = 0L; foreach (byte[] current in this.buffers) { num += (long)current.Length; } byte[] array; if (1 == this.buffers.Count) { array = this.buffers[0]; } else { array = new byte[num]; long num2 = 0L; foreach (byte[] current2 in this.buffers) { current2.CopyTo(array, num2); num2 += (long)current2.Length; } } this.responseStream = XmlaClient.GetResponseStreamHelper(this.spSite, new MemoryStream(array), this.serverEndpointAddress, this.loginName, this.databaseId, this.specificVersion, this.isFirstRequest, this.userAgent, this.applicationName, this.userAddress, "1,0,0,0,0", "text/xml", ref this.responseFlags, ref this.responseContentType, ref this.outdatedVersion); this.isFirstRequest = false; } catch (XmlaStreamException e) { XmlaClient.UlsWriterLogException(e); throw; } catch (Exception ex) { XmlaClient.UlsWriterLogException(ex); throw new XmlaStreamException(ex); } finally { if (this.buffers.Count != 0) { this.buffers = new List <byte[]>(); } } }