[CSHARP-514] MongoDB.DriverUnitTests.Linq.SelectOfTypeTests.TestOfTypeDWithProjection fails on Mono Created: 29/Jun/12  Updated: 02/Apr/15  Resolved: 01/Jul/12

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.5
Fix Version/s: 1.5

Type: Bug Priority: Major - P3
Reporter: Sridhar Nanjundeswaran Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Driver unit test on Mono



 Description   

MESSAGE:
Expected string length 39 but was 33. Strings differ at index 15.
Expected: "(D x) => new <>f__AnonymousType1`1(x.d)"
But was: "(D x) => new <>__AnonType1`1(x.d)"
--------------------------^

+++++++++++++++++++
STACK TRACE:
at MongoDB.DriverUnitTests.Linq.SelectOfTypeTests.TestOfTypeDWithProjection () [0x00103] in /mnt/jenkins/workspace/mongo-csharp-driver/label/linux64/mongodb_configuration/single_server/mongodb_server/legacy-release/DriverUnitTests/Linq/SelectOfTypeTests.cs:169
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /home/ec2-user/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:226



 Comments   
Comment by auto [ 01/Jul/12 ]

Author:

{u'date': u'2012-06-30T14:21:42-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-514: Changed ExpressionFormatter to introduce a platform neutral naming convention for anonymous types (along with some other minor improvements).
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/8dbd797116da86add86fce69bfddfae7c39e34b7

Generated at Wed Feb 07 21:37:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.