浏览代码

a better error message?

Brendan Forster 9 年之前
父节点
当前提交
8ccb94805a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Ix.NET/Source/System.Interactive.Async/Create.cs

+ 1 - 1
Ix.NET/Source/System.Interactive.Async/Create.cs

@@ -84,7 +84,7 @@ namespace System.Linq
 
             public override AsyncIterator<T> Clone()
             {
-                throw new NotSupportedException("Iterator only");
+                throw new NotSupportedException("AnonymousAsyncIterator cannot be cloned. It is only intended for use as an iterator.");
             }
 
             public override void Dispose()