Example #1
0
        public static void IndexOf(IMethod method, AbcCode code)
        {
            code.LoadThis();
            var type = method.Parameters[0].Type;

            code.BoxVariable(type, 1);
            code.Call(ArrayMethodId.IndexOf);
            code.ReturnValue();
        }