Issue 10 in backlinq: Repeat doesn't throw ArgumentOutOfRangeException if count is negative

0 views
Skip to first unread message

codesite...@google.com

unread,
Sep 10, 2008, 4:29:29 AM9/10/08
to backlin...@googlegroups.com
Issue 10: Repeat doesn't throw ArgumentOutOfRangeException if count is
negative
http://code.google.com/p/backlinq/issues/detail?id=10

New issue report by dominik....@skybow.com:
What steps will reproduce the problem?
public void Test() {
var result = Enumerable.Repeat("Hello World", -2);
}

What is the expected output? What do you see instead?
Expected: ArgumentOutOfRangeException is thrown
Instead: ArgumentOutOfRangeException is only thrown if you use the result
(for instance in a foreach)

What version of the product are you using? On what operating system?
0.6.0.0

Please provide any additional information below.
This bug is due to deferred execution

Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Sep 10, 2008, 5:15:46 PM9/10/08
to backlin...@googlegroups.com
Issue 10: Repeat doesn't throw ArgumentOutOfRangeException if count is
negative
http://code.google.com/p/backlinq/issues/detail?id=10

Comment #1 by azizatif:
This is the same as issue #4 and already fixed.

codesite...@google.com

unread,
Sep 10, 2008, 5:19:34 PM9/10/08
to backlin...@googlegroups.com
Issue 10: Repeat doesn't throw ArgumentOutOfRangeException if count is
negative
http://code.google.com/p/backlinq/issues/detail?id=10

Comment #2 by azizatif:
(No comment was entered for this change.)


Issue attribute updates:
Status: Duplicate

Reply all
Reply to author
Forward
0 new messages