Simple query with Fetch and SingleOrDefault throws exception (regression from 3.3.0)

Description

The following simple query throws an exception with a build from the current master branch:

var query = db.Users
.Fetch(x => x.Role)
.Where(x => x.Name == "xxx")
.SingleOrDefault();

The exception is:
Remotion.Linq.Utilities.ArgumentTypeException : Argument inputInfo has type Remotion.Linq.Clauses.StreamedData.StreamedSingleValueInfo when type Remotion.Linq.Clauses.StreamedData.StreamedSequenceInfo was expected.
Parametername: inputInfo

Environment

None

Activity

Alex Zaytsev June 11, 2012 at 2:31 PM

Fix commited to master 806cf928dd09531a1805a031a28c378db342510a

Alex Zaytsev June 11, 2012 at 2:05 PM

Thanks

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created June 11, 2012 at 12:56 PM
Updated April 12, 2017 at 9:32 AM
Resolved June 11, 2012 at 2:31 PM
Who's Looking?