예제 #1
0
        public void ExecutionIsDeferred()
        {
            IEnumerable source = new ThrowingEnumerable();

            // No exception
            source.OfType <string>();
        }
예제 #2
0
파일: OfTypeTest.cs 프로젝트: mafm/edulinq
 public void ExecutionIsDeferred()
 {
     IEnumerable source = new ThrowingEnumerable();
     // No exception
     source.OfType<string>();
 }