RajOpteamix / moq

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

InvalidCastException in multi-threading scenario #374

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Multi-threaded test with the TPL accessing a proxy at the same time

System.InvalidCastException: Unable to cast object of type 'System.Boolean' to 
type '...Interfaces.IRowMetricData[]'.
    at Castle.Proxies.IServiceMetricDataProxy.get_RowsData()

OUR TESTS WERE RUNNING FINE IN 4.2.1312.1615, this happens on 4.2.1312.1622

Thanks and keep up the good work

Original issue reported on code.google.com by jonas.ch...@nexthink.com on 20 Feb 2014 at 5:11