1using System.Collections;
2using System.Reflection;
31 IEnumerable o = (IEnumerable)instance;
33 foreach (
object obj
in o)
35 yield
return Wrap(obj);
Implements a simple wrapper for C# IEnumerators to be used in BS2.
Interop Function taking an array of arguments.
Implements a Reflected 'GetEnumerator' Method.
IEnumerable< BadObject > GetEnumerable(object instance)
Enumerates an object.
override BadObject Get(object? instance)
BadReflectedEnumeratorMethod(MethodInfo method)
Creates a new BadReflectedEnumeratorMethod.
static BadObject Wrap(object? o)
Wraps an Object into a BadObject.
Implements a Reflected Method Member.
The Base Class for all BadScript Objects.
The Any Prototype, Base type for all types.
static readonly BadAnyPrototype Instance
The Instance of the BadAnyPrototype.
Contains the Interop Function Classes for the BadScript2 Language.
Contains the Member Classes for Reflection Objects.
Contains Runtime Type Objects.
Contains the Runtime Objects.