Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
System.InvalidOperationException: The binary operator LessThanOrEqual is not defined for the types 'System.Decimal' and 'System.Decimal'.
at System.Linq.Expressions.Expression.GetUserDefinedBinaryOperatorOrThrow (System.Linq.Expressions.ExpressionType binaryType, System.String name, System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Boolean liftToNull) [0x00045] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/BinaryExpression.cs:694
at System.Linq.Expressions.Expression.GetComparisonOperator (System.Linq.Expressions.ExpressionType binaryType, System.String opName, System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Boolean liftToNull) [0x0004c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/BinaryExpression.cs:1281
at System.Linq.Expressions.Expression.LessThanOrEqual (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Boolean liftToNull, System.Reflection.MethodInfo method) [0x0001f] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/BinaryExpression.cs:1263
at System.Linq.Expressions.Expression.LessThanOrEqual (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/BinaryExpression.cs:1244
at Hello.ViewController+<>c.<Launch>b__3_0 () [0x00034] in /Users/Vince/Projects/Hello/Hello/ViewController.cs:33
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2879
at System.Threading.Tasks.Task.Execute () [0x00010] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113
at Hello.ViewController+<Launch>d__3.MoveNext () [0x00039] in /Users/Vince/Projects/Hello/Hello/ViewController.cs:31
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.11/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1018
at UIKit.UIKitSynchronizationContext+<Post>c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/4691/1fe8f10c/source/xamarin-macios/src/UIKit/UIKitSynchronizationContext.cs:24
at Foundation.NSAsyncActionDispatcher.Apply () [0x00000] in /Users/builder/data/lanes/4691/1fe8f10c/source/xamarin-macios/src/Foundation/NSAction.cs:163
at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/4691/1fe8f10c/source/xamarin-macios/src/UIKit/UIApplication.cs:79
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/4691/1fe8f10c/source/xamarin-macios/src/UIKit/UIApplication.cs:63
at Hello.Application.Main (System.String[] args) [0x00001] in /Users/Vince/Projects/Hello/Hello/Main.cs:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment