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

UrlDecodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeException() private method

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