The “System.MissingMemberException” happened again, but this time the value is indeed Array type.
Exception: System.Boolean System.Type::IsInstanceOfType(System.Object) called in c:\buildslave\mono-runtime-and-classlibs\build\external\boo\src\Boo.Lang\Runtime\RuntimeServices.cs (243, 4).
Type: System.MissingMemberException
Module: Boo.Lang
InnerException:
AdditionalInfo:
at UnsupportedMember_Boolean(Type self, Object o, String signature)
at Boo.Lang.Runtime.RuntimeServices.CreateCoerceDispatcher(Object value, Type toType)
at Boo.Lang.Runtime.RuntimeServices.<>c__DisplayClass17.b__16()
at Boo.Lang.Runtime.DynamicDispatching.DispatcherCache.Get(DispatcherKey key, DispatcherFactory factory)
at Boo.Lang.Runtime.RuntimeServices.GetDispatcher(Object target, String cacheKeyName, Type[ ] cacheKeyTypes, DispatcherFactory factory)
at Boo.Lang.Runtime.RuntimeServices.Coerce(Object value, Type toType)
at Building.getCreatBuildingList(Int32 cityId, Int32 slotId)
at CreatBuilding.UpdateData(Object param)
at CreatBuilding.OnPush(Object param)
at MenuMgr.$PushMenu$4576.$.MoveNext()
at UnityEngine.Internal.$MethodUtility.$Invoke66(Int64 instance, Int64* args)
at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)
and the related source are:
var cityBuildListOrder:Array = [[5,13,11,7,9,12,8,15,16,14,17,18,20],[5,13,11,7,9,12,8,15,16,14,17,18],[5,13,11,7,9,12,8,15,16,14,17,18],[5,13,11,7,9,12,8,15,16,14,17,18]];
var curList:Array;
curList = cityBuildListOrder[0];
Don’t know what did the Boo.Lang.Runtime.RuntimeServices.Coerce do this time.