Issue 11 in backlinq: SingleOrDefault throws InvalidOperationException if source is empty

0 views
Skip to first unread message

codesite...@google.com

unread,
Sep 12, 2008, 7:28:53 AM9/12/08
to backlin...@googlegroups.com
Issue 11: SingleOrDefault throws InvalidOperationException if source is
empty
http://code.google.com/p/backlinq/issues/detail?id=11

New issue report by dominik....@skybow.com:
What steps will reproduce the problem?
var enumerable = new int[0];
enumerable.SingleOrDefault();

What is the expected output?
0

What do you see instead?
InvalidOperationException

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


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 13, 2008, 5:53:02 AM9/13/08
to backlin...@googlegroups.com
Issue 11: SingleOrDefault throws InvalidOperationException if source is
empty
http://code.google.com/p/backlinq/issues/detail?id=11

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


Issue attribute updates:
Status: Accepted
Owner: azizatif
Labels: -Priority-Medium Priority-High Component-Logic

codesite...@google.com

unread,
Sep 13, 2008, 6:05:10 AM9/13/08
to backlin...@googlegroups.com
Issue 11: SingleOrDefault throws InvalidOperationException if source is
empty
http://code.google.com/p/backlinq/issues/detail?id=11

Comment #2 by azizatif:
Fixed in r110.


Issue attribute updates:
Status: Fixed

Reply all
Reply to author
Forward
0 new messages