System.Net.Http.HttpContent.FixedMemoryStream.CheckOverflow C# (CSharp) Method

CheckOverflow() private method

private CheckOverflow ( int count ) : void
count int
return void
			void CheckOverflow (int count)
			{
				if (Length + count > maxSize)
					throw new HttpRequestException (string.Format ("Cannot write more bytes to the buffer than the configured maximum buffer size: {0}", maxSize));
			}