System.Json.Tests.JsonValueTests.GetEnumerator_ThrowsInvalidOperationException C# (CSharp) Метод

GetEnumerator_ThrowsInvalidOperationException() приватный Метод

private GetEnumerator_ThrowsInvalidOperationException ( ) : void
Результат void
        public void GetEnumerator_ThrowsInvalidOperationException()
        {
            JsonValue value = JsonValue.Parse("1");
            Assert.Throws<InvalidOperationException>(() => ((IEnumerable)value).GetEnumerator());
        }
JsonValueTests