Example #1
0
        public static async void TestDynamicAsyncResult()
        {
            var     asyncComplete = Assert.Async();
            dynamic a             = new Bridge918();
            var     result        = (int)await a.test();

            Assert.AreEqual(result, 1);

            asyncComplete();
        }
Example #2
0
        public static async void TestDynamicAsyncResult()
        {
            var asyncComplete = Assert.Async();
            dynamic a = new Bridge918();
            var result = (int)await a.test();

            Assert.AreEqual(result, 1);

            asyncComplete();
        }