System.Net.Tests.WebUtilityTests.UrlEncodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeExceptioh C# (CSharp) Méthode

UrlEncodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeExceptioh() private méthode

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