| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection;
- using System.Runtime.InteropServices;
- using ILRuntime.CLR.TypeSystem;
- using ILRuntime.CLR.Method;
- using ILRuntime.Runtime.Enviorment;
- using ILRuntime.Runtime.Intepreter;
- using ILRuntime.Runtime.Stack;
- using ILRuntime.Reflection;
- using ILRuntime.CLR.Utils;
- namespace ILRuntime.Runtime.Generated
- {
- unsafe class ETModel_Define_Binding
- {
- public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
- {
- BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
- FieldInfo field;
- Type[] args;
- Type type = typeof(ETModel.Define);
- field = type.GetField("IsILRuntime", flag);
- app.RegisterCLRFieldGetter(field, get_IsILRuntime_0);
- app.RegisterCLRFieldSetter(field, set_IsILRuntime_0);
- }
- static object get_IsILRuntime_0(ref object o)
- {
- return ETModel.Define.IsILRuntime;
- }
- static void set_IsILRuntime_0(ref object o, object v)
- {
- ETModel.Define.IsILRuntime = (System.Boolean)v;
- }
- }
- }
|