System.Net.Tests.WebUtilityTests.UrlEncodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeExceptioh C# (CSharp) Method

UrlEncodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeExceptioh() private method

private UrlEncodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeExceptioh ( int byteCount, int offset, int count ) : void
byteCount int
offset int
count int
return void
        public static void UrlEncodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeExceptioh(int byteCount, int offset, int count)
        {
            Assert.Throws<ArgumentOutOfRangeException>("count", () => WebUtility.UrlEncodeToBytes(new byte[byteCount], offset, count));
        }