首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MonoTouch中的ConcurrentDictionary

MonoTouch中的ConcurrentDictionary
EN

Stack Overflow用户
提问于 2012-05-31 00:28:53
回答 1查看 487关注 0票数 1

我正尝试在我的单点触控应用中使用ConcurrentDictionary。在我正尝试在我的单点触控应用中使用ConcurrentDictionary时,一切运行正常。在模拟器中一切运行正常,但是当我在iPad中运行时,在创建使用它的类的实例时得到以下异常。有什么想法吗?

代码语言:javascript
复制
System.ExecutionEngineException: Attempting to JIT compile method 'System.Collections.Concurrent.SplitOrderedList`2<string, System.Collections.Generic.KeyValuePair`2<string, object>>:.ctor (System.Collections.Generic.IEqualityComparer`1<string>)' while running with --aot-only.

  at System.Collections.Concurrent.ConcurrentDictionary`2[System.String,System.Object]..ctor (IEqualityComparer`1 comparer) [0x00000] in <filename unknown>:0
  at System.Collections.Concurrent.ConcurrentDictionary`2[System.String,System.Object]..ctor () [0x00000] in <filename unknown>:0
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-05-31 01:15:05

由于how,这是一个known问题,在内部,类使用泛型。您可以将自己添加到bug c.c.中。以获得更新/解决方案的通知。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10820403

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档