コード例 #1
0
ファイル: CollectAny.cs プロジェクト: liuhonglei/Narvalo.NET
        public static void CollectAny1a()
        {
            IEnumerable <Either <int, int> > source = new ThrowingEnumerable <Either <int, int> >();

            var q = Assert.DoesNotThrow(() => source.CollectAny());

            Assert.ThrowsOnNext(q);
        }