我正尝试在我的单点触控应用中使用ConcurrentDictionary。在我正尝试在我的单点触控应用中使用ConcurrentDictionary时,一切运行正常。在模拟器中一切运行正常,但是当我在iPad中运行时,在创建使用它的类的实例时得到以下异常。有什么想法吗?
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发布于 2012-05-31 01:15:05
由于how,这是一个known问题,在内部,类使用泛型。您可以将自己添加到bug c.c.中。以获得更新/解决方案的通知。
https://stackoverflow.com/questions/10820403
复制相似问题