1using System.Reflection;
40 if (o is not
IBadNative native || !
m_Info.FieldType.IsAssignableFrom(native.Type))
45 m_Info.SetValue(instance, native.Value);
Gets thrown by the runtime.
Implements a Reflected Field Member.
override void Set(object instance, BadObject o)
BadReflectedField(FieldInfo field)
Creates a new BadReflectedField.
override BadObject Get(object instance)
readonly FieldInfo m_Info
The Reflected Field.
Implements a Reflected Member.
string Name
The Name of the Member.
static BadObject Wrap(object? o)
Wraps an Object into a BadObject.
The Base Class for all BadScript Objects.
Defines properties for Native Types.
Contains the Error Objects for the BadScript2 Language.
Contains the Member Classes for Reflection Objects.
Contains the Native Runtime Objects.
Contains the Runtime Objects.