http://bugzilla.novell.com/show_bug.cgi?id=572886
http://bugzilla.novell.com/show_bug.cgi?id=572886#c0 Summary: No method OrderBy on type System.Linq.Queryable that matches the specified arguments Classification: Mono Product: MonoTouch Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Runtime AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=338182) --> (http://bugzilla.novell.com/attachment.cgi?id=338182) Project demoing bug Description of Problem: var all = from s in appData.TransitSource.AllStops orderby s.Name select s; _all = all.ToArray(); Works in Simulator but crashes on the iPhone in Release build. Steps to reproduce the problem: 1. Click some locations. 2. Actual Results: Loaded assembly: /private/var/mobile/Applications/DCA3A48F-F1AC-46F7-BE7E-D59C06316756/Ferry.app/monotouch.dll Loaded assembly: /private/var/mobile/Applications/DCA3A48F-F1AC-46F7-BE7E-D59C06316756/Ferry.app/System.dll Loaded assembly: /private/var/mobile/Applications/DCA3A48F-F1AC-46F7-BE7E-D59C06316756/Ferry.app/System.Core.dll Loaded assembly: /private/var/mobile/Applications/DCA3A48F-F1AC-46F7-BE7E-D59C06316756/Ferry.app/Transit.dll Loaded assembly: /private/var/mobile/Applications/DCA3A48F-F1AC-46F7-BE7E-D59C06316756/Ferry.app/Ferry.exe Thread started: Unhandled Exception: System.InvalidOperationException: There is no method OrderBy on type System.Linq.Queryable that matches the specified arguments at System.Linq.QueryableTransformer.ReplaceQueryableMethod (System.Reflection.MethodInfo method) [0x00000] in <filename unknown>:0 at System.Linq.QueryableTransformer.ReplaceQueryableMethod (System.Linq.Expressions.MethodCallExpression old) [0x00000] in <filename unknown>:0 at System.Linq.QueryableTransformer.VisitMethodCall (System.Linq.Expressions.MethodCallExpression methodCall) [0x00000] in <filename unknown>:0 at System.Linq.Expressions.ExpressionTransformer.Visit (System.Linq.Expressions.Expression exp) [0x00000] in <filename unknown>:0 at System.Linq.Expressions.ExpressionTransformer.Transform (System.Linq.Expressions.Expression expression) [0x00000] in <filename unknown>:0 at System.Linq.QueryableEnumerable`1[Transit.Stop].TransformQueryable (System.Linq.Expressions.Expression expression) [0x00000] in <filename unknown>:0 at System.Linq.QueryableEnumerable`1[Transit.Stop].Execute[IEnumerable`1] (System.Linq.Expressions.Expression expression) [0x00000] in <filename unknown>:0 at System.Linq.QueryableEnumerable`1[Transit.Stop].GetEnumerator () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Transit.Stop].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Transit.Stop]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToArray[Stop] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Ferry.PickStopController+TableSource..ctor (Ferry.AppData appData) [0x00178] in /Users/fak/Projects/Junk/Ferry/Ferry/PickStopController.xib.cs:85 at Ferry.PickStopController.ViewDidLoad () [0x00000] in /Users/fak/Projects/Junk/Ferry/Ferry/PickStopController.xib.cs:49 at MonoTouch.UIKit.UIViewController.PresentModalViewController (MonoTouch.UIKit.UIViewController modalViewController, Boolean animated) [0x00000] in <filename unknown>:0 at Ferry.HomeController.SelectStop (Transit.Stop iv, System.Action`1 k) [0x0003a] in /Users/fak/Projects/Junk/Ferry/Ferry/HomeController.xib.cs:84 at Ferry.HomeController.SelectStart (MonoTouch.UIKit.UIButton sender) [0x00000] in /Users/fak/Projects/Junk/Ferry/Ferry/HomeController.xib.cs:89 at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00000] in <filename unknown>:0 at MonoTouch.UIKit.UIApplication.Main (System.String[] args) [0x00000] in <filename unknown>:0 at Ferry.Application.Main (System.String[] args) [0x00000] in /Users/fak/Projects/Junk/Ferry/Ferry/Main.cs:14 Expected Results: How often does this happen? Additional Information: -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
