System.Net.Tests.WebUtilityTests.UrlEncodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeExceptioh C# (CSharp) 메소드

UrlEncodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeExceptioh() 개인적인 메소드

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