Some LINQ functions won't work. And no; not iOS
Hi there everyone. Going insane on this :) No clear information could i find on this so needed to ask.
Am i missing a veeeery basic info on this or is something wrong: (UnityScript)
import System.Generic.Collections;
import System.Linq;
DataFromDB = *SOME IRRELEVANT DATA COMES FROM DATABASE*
var dbARRAY = DataFromDB.Spit(","[0]);
dbARRAY.ToList();
This throws a missing method exception;
MissingMethodException: System.String[].ToList
Boo.Lang.Runtime.DynamicDispatching.MethodDispatcherFactory.ProduceExtensionDispatcher ()
Boo.Lang.Runtime.DynamicDispatching.MethodDispatcherFactory.Create ()
Boo.Lang.Runtime.RuntimeServices.DoCreateMethodDispatcher (System.Object target, System.Type targetType, System.String name, System.Object[] args)
Boo.Lang.Runtime.RuntimeServices.CreateMethodDispatcher (System.Object target, System.String name, System.Object[] args)
Boo.Lang.Runtime.RuntimeServices+<Invoke>c__AnonStorey15.<>m__9 ()
Boo.Lang.Runtime.DynamicDispatching.DispatcherCache.Get (Boo.Lang.Runtime.DynamicDispatching.DispatcherKey key, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory)
Boo.Lang.Runtime.RuntimeServices.GetDispatcher (System.Object target, System.String cacheKeyName, System.Type[] cacheKeyTypes, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory)
Boo.Lang.Runtime.RuntimeServices.GetDispatcher (System.Object target, System.Object[] args, System.String cacheKeyName, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory)
Boo.Lang.Runtime.RuntimeServices.Invoke (System.Object target, System.String name, System.Object[] args)
UnityScript.Lang.UnityRuntimeServices.Invoke (System.Object target, System.String name, System.Object[] args, System.Type scriptBaseType)
IntroCam+$Start$134+$.MoveNext () (at Assets/CamScripts/IntroCam.js:91)
i also tried using; import Linq; or import System.Xml.Linq; but to no avail... Is there something wrong or it does simply not work? has no way to work?
According to this, should work but still not sure; http://web.archive.org/web/20130127214205/http://docs.unity3d.com/Documentation/ScriptReference/MonoCompatibility.html
EDIT: .Distinct(); for generic lists also don't work :)
Comment