我正在尝试在我的monotouch应用程序中使用ConcurrentDictionary。一切都运行正常我试图在我的monotouch应用程序中使用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