Jeff-Lewis / codesmith

Automatically exported from code.google.com/p/codesmith
0 stars 0 forks source link

PLINQO: Patch System.Linq.Dynamic to allow comparing Guids #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compare Guid values in a dynamiq LINQ query

What is the expected output? What do you see instead?
An exception with "Operator '==' incompatible with operand types 'Guid' and 
'Guid'"

What version of the product are you using?
3.1.808

Please provide any additional information below.

Here is a link to the bug report: 
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?
FeedbackID=333262

The fix consists of changing IEqualitySignatures in DynamicQuery.cs to the 
following:

interface IEqualitySignatures : IRelationalSignatures
{
    void F(bool x, bool y);
    void F(bool? x, bool? y);
    void F(Guid x, Guid y);
    void F(Guid? x, Guid? y);
}

Original issue reported on code.google.com by dasj...@gmail.com on 22 Sep 2009 at 10:57

GoogleCodeExporter commented 9 years ago
Bug confirmed. Patch applied. Thank you very much!

Original comment by tdupont...@gmail.com on 22 Sep 2009 at 9:06

GoogleCodeExporter commented 9 years ago
You're welcome! :-)

Original comment by dasj...@gmail.com on 23 Sep 2009 at 9:30

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 5:43

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 9:16