-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
container.Resolve<T>craches on iOS #187
Comments
What is DryIoc version? |
Try the solution from here |
Also related issue: #130 |
Maybe 4 times slower on 3rd and more resolutions (tested in this benchmark https://github.com/dadhi/DryIoc/blob/8e8aa8bd710f5a0d0a8ad14f457ea419fd5eb562/playground/Playground/RealisticUnitOfWorkBenchmark.cs) If possible, I would suggest to use platform #if-def or set this option after checking platform runtime capability. |
Using somth like this I am personally not developing for iOS, so would be intesting to hear, what in the end did worked for you. |
OK, thank you, I am closing the issue and will reply to the related one. |
/Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/external/mono/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.notsupported.cs:64
ExpressionCompiler.TryCompileBoundToFirstClosureParam (System.Type delegateType, FastExpressionCompiler.LightExpression.Expression bodyExpr, System.Collections.Generic.IReadOnlyList`1[T] paramExprs, System.Type[] closurePlusParamTypes, System.Type returnType)
FactoryDelegateCompiler.CompileToFactoryDelegate (FastExpressionCompiler.LightExpression.Expression expression, System.Boolean useFastExpressionCompiler, System.Boolean preferInterpretation)
IResolver.Resolve (System.Type serviceType, DryIoc.IfUnresolved ifUnresolved)
Resolver.Resolve[TService] (DryIoc.IResolver resolver, DryIoc.IfUnresolved ifUnresolved)
The text was updated successfully, but these errors were encountered: