我正尝试在我的单点触控应用中使用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>:0https://stackoverflow.com/questions/10820403
复制相似问题