| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792 |
- using System;
- using System.Collections.Generic;
- using System.Reflection;
- 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 System_Console_Binding
- {
- public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
- {
- BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
- MethodBase method;
- Type[] args;
- Type type = typeof(System.Console);
- args = new Type[]{};
- method = type.GetMethod("get_Error", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_Error_0);
- args = new Type[]{};
- method = type.GetMethod("get_Out", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_Out_1);
- args = new Type[]{};
- method = type.GetMethod("get_In", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_In_2);
- args = new Type[]{};
- method = type.GetMethod("OpenStandardError", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, OpenStandardError_3);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("OpenStandardError", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, OpenStandardError_4);
- args = new Type[]{};
- method = type.GetMethod("OpenStandardInput", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, OpenStandardInput_5);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("OpenStandardInput", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, OpenStandardInput_6);
- args = new Type[]{};
- method = type.GetMethod("OpenStandardOutput", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, OpenStandardOutput_7);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("OpenStandardOutput", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, OpenStandardOutput_8);
- args = new Type[]{typeof(System.IO.TextWriter)};
- method = type.GetMethod("SetError", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetError_9);
- args = new Type[]{typeof(System.IO.TextReader)};
- method = type.GetMethod("SetIn", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetIn_10);
- args = new Type[]{typeof(System.IO.TextWriter)};
- method = type.GetMethod("SetOut", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetOut_11);
- args = new Type[]{typeof(System.Boolean)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_12);
- args = new Type[]{typeof(System.Char)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_13);
- args = new Type[]{typeof(System.Char[])};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_14);
- args = new Type[]{typeof(System.Decimal)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_15);
- args = new Type[]{typeof(System.Double)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_16);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_17);
- args = new Type[]{typeof(System.Int64)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_18);
- args = new Type[]{typeof(System.Object)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_19);
- args = new Type[]{typeof(System.Single)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_20);
- args = new Type[]{typeof(System.String)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_21);
- args = new Type[]{typeof(System.UInt32)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_22);
- args = new Type[]{typeof(System.UInt64)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_23);
- args = new Type[]{typeof(System.String), typeof(System.Object)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_24);
- args = new Type[]{typeof(System.String), typeof(System.Object[])};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_25);
- args = new Type[]{typeof(System.Char[]), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_26);
- args = new Type[]{typeof(System.String), typeof(System.Object), typeof(System.Object)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_27);
- args = new Type[]{typeof(System.String), typeof(System.Object), typeof(System.Object), typeof(System.Object)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_28);
- args = new Type[]{typeof(System.String), typeof(System.Object), typeof(System.Object), typeof(System.Object), typeof(System.Object)};
- method = type.GetMethod("Write", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Write_29);
- args = new Type[]{};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_30);
- args = new Type[]{typeof(System.Boolean)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_31);
- args = new Type[]{typeof(System.Char)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_32);
- args = new Type[]{typeof(System.Char[])};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_33);
- args = new Type[]{typeof(System.Decimal)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_34);
- args = new Type[]{typeof(System.Double)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_35);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_36);
- args = new Type[]{typeof(System.Int64)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_37);
- args = new Type[]{typeof(System.Object)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_38);
- args = new Type[]{typeof(System.Single)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_39);
- args = new Type[]{typeof(System.String)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_40);
- args = new Type[]{typeof(System.UInt32)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_41);
- args = new Type[]{typeof(System.UInt64)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_42);
- args = new Type[]{typeof(System.String), typeof(System.Object)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_43);
- args = new Type[]{typeof(System.String), typeof(System.Object[])};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_44);
- args = new Type[]{typeof(System.Char[]), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_45);
- args = new Type[]{typeof(System.String), typeof(System.Object), typeof(System.Object)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_46);
- args = new Type[]{typeof(System.String), typeof(System.Object), typeof(System.Object), typeof(System.Object)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_47);
- args = new Type[]{typeof(System.String), typeof(System.Object), typeof(System.Object), typeof(System.Object), typeof(System.Object)};
- method = type.GetMethod("WriteLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, WriteLine_48);
- args = new Type[]{};
- method = type.GetMethod("Read", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Read_49);
- args = new Type[]{};
- method = type.GetMethod("ReadLine", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, ReadLine_50);
- args = new Type[]{};
- method = type.GetMethod("get_InputEncoding", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_InputEncoding_51);
- args = new Type[]{typeof(System.Text.Encoding)};
- method = type.GetMethod("set_InputEncoding", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_InputEncoding_52);
- args = new Type[]{};
- method = type.GetMethod("get_OutputEncoding", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_OutputEncoding_53);
- args = new Type[]{typeof(System.Text.Encoding)};
- method = type.GetMethod("set_OutputEncoding", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_OutputEncoding_54);
- args = new Type[]{};
- method = type.GetMethod("get_BackgroundColor", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_BackgroundColor_55);
- args = new Type[]{typeof(System.ConsoleColor)};
- method = type.GetMethod("set_BackgroundColor", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_BackgroundColor_56);
- args = new Type[]{};
- method = type.GetMethod("get_BufferHeight", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_BufferHeight_57);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("set_BufferHeight", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_BufferHeight_58);
- args = new Type[]{};
- method = type.GetMethod("get_BufferWidth", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_BufferWidth_59);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("set_BufferWidth", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_BufferWidth_60);
- args = new Type[]{};
- method = type.GetMethod("get_CapsLock", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_CapsLock_61);
- args = new Type[]{};
- method = type.GetMethod("get_CursorLeft", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_CursorLeft_62);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("set_CursorLeft", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_CursorLeft_63);
- args = new Type[]{};
- method = type.GetMethod("get_CursorTop", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_CursorTop_64);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("set_CursorTop", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_CursorTop_65);
- args = new Type[]{};
- method = type.GetMethod("get_CursorSize", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_CursorSize_66);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("set_CursorSize", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_CursorSize_67);
- args = new Type[]{};
- method = type.GetMethod("get_CursorVisible", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_CursorVisible_68);
- args = new Type[]{typeof(System.Boolean)};
- method = type.GetMethod("set_CursorVisible", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_CursorVisible_69);
- args = new Type[]{};
- method = type.GetMethod("get_ForegroundColor", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_ForegroundColor_70);
- args = new Type[]{typeof(System.ConsoleColor)};
- method = type.GetMethod("set_ForegroundColor", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_ForegroundColor_71);
- args = new Type[]{};
- method = type.GetMethod("get_KeyAvailable", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_KeyAvailable_72);
- args = new Type[]{};
- method = type.GetMethod("get_LargestWindowHeight", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_LargestWindowHeight_73);
- args = new Type[]{};
- method = type.GetMethod("get_LargestWindowWidth", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_LargestWindowWidth_74);
- args = new Type[]{};
- method = type.GetMethod("get_NumberLock", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_NumberLock_75);
- args = new Type[]{};
- method = type.GetMethod("get_Title", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_Title_76);
- args = new Type[]{typeof(System.String)};
- method = type.GetMethod("set_Title", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_Title_77);
- args = new Type[]{};
- method = type.GetMethod("get_TreatControlCAsInput", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_TreatControlCAsInput_78);
- args = new Type[]{typeof(System.Boolean)};
- method = type.GetMethod("set_TreatControlCAsInput", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_TreatControlCAsInput_79);
- args = new Type[]{};
- method = type.GetMethod("get_WindowHeight", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_WindowHeight_80);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("set_WindowHeight", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_WindowHeight_81);
- args = new Type[]{};
- method = type.GetMethod("get_WindowLeft", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_WindowLeft_82);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("set_WindowLeft", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_WindowLeft_83);
- args = new Type[]{};
- method = type.GetMethod("get_WindowTop", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_WindowTop_84);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("set_WindowTop", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_WindowTop_85);
- args = new Type[]{};
- method = type.GetMethod("get_WindowWidth", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_WindowWidth_86);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("set_WindowWidth", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_WindowWidth_87);
- args = new Type[]{};
- method = type.GetMethod("Beep", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Beep_88);
- args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("Beep", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Beep_89);
- args = new Type[]{};
- method = type.GetMethod("Clear", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Clear_90);
- args = new Type[]{typeof(System.Int32), typeof(System.Int32), typeof(System.Int32), typeof(System.Int32), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("MoveBufferArea", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, MoveBufferArea_91);
- args = new Type[]{typeof(System.Int32), typeof(System.Int32), typeof(System.Int32), typeof(System.Int32), typeof(System.Int32), typeof(System.Int32), typeof(System.Char), typeof(System.ConsoleColor), typeof(System.ConsoleColor)};
- method = type.GetMethod("MoveBufferArea", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, MoveBufferArea_92);
- args = new Type[]{};
- method = type.GetMethod("ReadKey", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, ReadKey_93);
- args = new Type[]{typeof(System.Boolean)};
- method = type.GetMethod("ReadKey", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, ReadKey_94);
- args = new Type[]{};
- method = type.GetMethod("ResetColor", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, ResetColor_95);
- args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("SetBufferSize", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetBufferSize_96);
- args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("SetCursorPosition", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetCursorPosition_97);
- args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("SetWindowPosition", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetWindowPosition_98);
- args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("SetWindowSize", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetWindowSize_99);
- }
- static StackObject* get_Error_0(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.Error;
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* get_Out_1(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.Out;
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* get_In_2(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.In;
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* OpenStandardError_3(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.OpenStandardError();
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* OpenStandardError_4(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 bufferSize = ptr_of_this_method->Value;
- var result_of_this_method = System.Console.OpenStandardError(bufferSize);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* OpenStandardInput_5(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.OpenStandardInput();
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* OpenStandardInput_6(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 bufferSize = ptr_of_this_method->Value;
- var result_of_this_method = System.Console.OpenStandardInput(bufferSize);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* OpenStandardOutput_7(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.OpenStandardOutput();
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* OpenStandardOutput_8(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 bufferSize = ptr_of_this_method->Value;
- var result_of_this_method = System.Console.OpenStandardOutput(bufferSize);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* SetError_9(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.IO.TextWriter newError = (System.IO.TextWriter)typeof(System.IO.TextWriter).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.SetError(newError);
- return __ret;
- }
- static StackObject* SetIn_10(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.IO.TextReader newIn = (System.IO.TextReader)typeof(System.IO.TextReader).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.SetIn(newIn);
- return __ret;
- }
- static StackObject* SetOut_11(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.IO.TextWriter newOut = (System.IO.TextWriter)typeof(System.IO.TextWriter).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.SetOut(newOut);
- return __ret;
- }
- static StackObject* Write_12(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Boolean value = ptr_of_this_method->Value == 1;
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_13(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Char value = (char)ptr_of_this_method->Value;
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_14(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Char[] buffer = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Write(buffer);
- return __ret;
- }
- static StackObject* Write_15(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Decimal value = (System.Decimal)typeof(System.Decimal).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_16(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Double value = *(double*)&ptr_of_this_method->Value;
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_17(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_18(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int64 value = *(long*)&ptr_of_this_method->Value;
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_19(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_20(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Single value = *(float*)&ptr_of_this_method->Value;
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_21(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_22(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.UInt32 value = (uint)ptr_of_this_method->Value;
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_23(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.UInt64 value = *(ulong*)&ptr_of_this_method->Value;
- System.Console.Write(value);
- return __ret;
- }
- static StackObject* Write_24(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Write(format, arg0);
- return __ret;
- }
- static StackObject* Write_25(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object[] arg = (System.Object[])typeof(System.Object[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Write(format, arg);
- return __ret;
- }
- static StackObject* Write_26(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 3);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 count = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Char[] buffer = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Write(buffer, index, count);
- return __ret;
- }
- static StackObject* Write_27(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 3);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Write(format, arg0, arg1);
- return __ret;
- }
- static StackObject* Write_28(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 4);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object arg2 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Write(format, arg0, arg1, arg2);
- return __ret;
- }
- static StackObject* Write_29(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 5);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object arg3 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Object arg2 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Write(format, arg0, arg1, arg2, arg3);
- return __ret;
- }
- static StackObject* WriteLine_30(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- System.Console.WriteLine();
- return __ret;
- }
- static StackObject* WriteLine_31(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Boolean value = ptr_of_this_method->Value == 1;
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_32(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Char value = (char)ptr_of_this_method->Value;
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_33(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Char[] buffer = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.WriteLine(buffer);
- return __ret;
- }
- static StackObject* WriteLine_34(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Decimal value = (System.Decimal)typeof(System.Decimal).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_35(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Double value = *(double*)&ptr_of_this_method->Value;
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_36(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_37(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int64 value = *(long*)&ptr_of_this_method->Value;
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_38(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_39(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Single value = *(float*)&ptr_of_this_method->Value;
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_40(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_41(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.UInt32 value = (uint)ptr_of_this_method->Value;
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_42(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.UInt64 value = *(ulong*)&ptr_of_this_method->Value;
- System.Console.WriteLine(value);
- return __ret;
- }
- static StackObject* WriteLine_43(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.WriteLine(format, arg0);
- return __ret;
- }
- static StackObject* WriteLine_44(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object[] arg = (System.Object[])typeof(System.Object[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.WriteLine(format, arg);
- return __ret;
- }
- static StackObject* WriteLine_45(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 3);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 count = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Char[] buffer = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.WriteLine(buffer, index, count);
- return __ret;
- }
- static StackObject* WriteLine_46(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 3);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.WriteLine(format, arg0, arg1);
- return __ret;
- }
- static StackObject* WriteLine_47(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 4);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object arg2 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.WriteLine(format, arg0, arg1, arg2);
- return __ret;
- }
- static StackObject* WriteLine_48(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 5);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Object arg3 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Object arg2 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.WriteLine(format, arg0, arg1, arg2, arg3);
- return __ret;
- }
- static StackObject* Read_49(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.Read();
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* ReadLine_50(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.ReadLine();
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* get_InputEncoding_51(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.InputEncoding;
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_InputEncoding_52(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Text.Encoding value = (System.Text.Encoding)typeof(System.Text.Encoding).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.InputEncoding = value;
- return __ret;
- }
- static StackObject* get_OutputEncoding_53(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.OutputEncoding;
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_OutputEncoding_54(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Text.Encoding value = (System.Text.Encoding)typeof(System.Text.Encoding).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.OutputEncoding = value;
- return __ret;
- }
- static StackObject* get_BackgroundColor_55(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.BackgroundColor;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_BackgroundColor_56(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.ConsoleColor value = (System.ConsoleColor)typeof(System.ConsoleColor).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.BackgroundColor = value;
- return __ret;
- }
- static StackObject* get_BufferHeight_57(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.BufferHeight;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* set_BufferHeight_58(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.BufferHeight = value;
- return __ret;
- }
- static StackObject* get_BufferWidth_59(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.BufferWidth;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* set_BufferWidth_60(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.BufferWidth = value;
- return __ret;
- }
- static StackObject* get_CapsLock_61(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.CapsLock;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* get_CursorLeft_62(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.CursorLeft;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* set_CursorLeft_63(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.CursorLeft = value;
- return __ret;
- }
- static StackObject* get_CursorTop_64(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.CursorTop;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* set_CursorTop_65(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.CursorTop = value;
- return __ret;
- }
- static StackObject* get_CursorSize_66(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.CursorSize;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* set_CursorSize_67(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.CursorSize = value;
- return __ret;
- }
- static StackObject* get_CursorVisible_68(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.CursorVisible;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* set_CursorVisible_69(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Boolean value = ptr_of_this_method->Value == 1;
- System.Console.CursorVisible = value;
- return __ret;
- }
- static StackObject* get_ForegroundColor_70(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.ForegroundColor;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_ForegroundColor_71(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.ConsoleColor value = (System.ConsoleColor)typeof(System.ConsoleColor).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.ForegroundColor = value;
- return __ret;
- }
- static StackObject* get_KeyAvailable_72(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.KeyAvailable;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* get_LargestWindowHeight_73(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.LargestWindowHeight;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* get_LargestWindowWidth_74(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.LargestWindowWidth;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* get_NumberLock_75(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.NumberLock;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* get_Title_76(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.Title;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_Title_77(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Console.Title = value;
- return __ret;
- }
- static StackObject* get_TreatControlCAsInput_78(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.TreatControlCAsInput;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* set_TreatControlCAsInput_79(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Boolean value = ptr_of_this_method->Value == 1;
- System.Console.TreatControlCAsInput = value;
- return __ret;
- }
- static StackObject* get_WindowHeight_80(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.WindowHeight;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* set_WindowHeight_81(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.WindowHeight = value;
- return __ret;
- }
- static StackObject* get_WindowLeft_82(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.WindowLeft;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* set_WindowLeft_83(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.WindowLeft = value;
- return __ret;
- }
- static StackObject* get_WindowTop_84(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.WindowTop;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* set_WindowTop_85(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.WindowTop = value;
- return __ret;
- }
- static StackObject* get_WindowWidth_86(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.WindowWidth;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* set_WindowWidth_87(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 value = ptr_of_this_method->Value;
- System.Console.WindowWidth = value;
- return __ret;
- }
- static StackObject* Beep_88(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- System.Console.Beep();
- return __ret;
- }
- static StackObject* Beep_89(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 duration = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 frequency = ptr_of_this_method->Value;
- System.Console.Beep(frequency, duration);
- return __ret;
- }
- static StackObject* Clear_90(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- System.Console.Clear();
- return __ret;
- }
- static StackObject* MoveBufferArea_91(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 6);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 targetTop = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 targetLeft = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Int32 sourceHeight = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Int32 sourceWidth = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
- System.Int32 sourceTop = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 6);
- System.Int32 sourceLeft = ptr_of_this_method->Value;
- System.Console.MoveBufferArea(sourceLeft, sourceTop, sourceWidth, sourceHeight, targetLeft, targetTop);
- return __ret;
- }
- static StackObject* MoveBufferArea_92(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 9);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.ConsoleColor sourceBackColor = (System.ConsoleColor)typeof(System.ConsoleColor).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.ConsoleColor sourceForeColor = (System.ConsoleColor)typeof(System.ConsoleColor).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Char sourceChar = (char)ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Int32 targetTop = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
- System.Int32 targetLeft = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 6);
- System.Int32 sourceHeight = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 7);
- System.Int32 sourceWidth = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 8);
- System.Int32 sourceTop = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 9);
- System.Int32 sourceLeft = ptr_of_this_method->Value;
- System.Console.MoveBufferArea(sourceLeft, sourceTop, sourceWidth, sourceHeight, targetLeft, targetTop, sourceChar, sourceForeColor, sourceBackColor);
- return __ret;
- }
- static StackObject* ReadKey_93(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- var result_of_this_method = System.Console.ReadKey();
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* ReadKey_94(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Boolean intercept = ptr_of_this_method->Value == 1;
- var result_of_this_method = System.Console.ReadKey(intercept);
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* ResetColor_95(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 0);
- System.Console.ResetColor();
- return __ret;
- }
- static StackObject* SetBufferSize_96(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 height = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 width = ptr_of_this_method->Value;
- System.Console.SetBufferSize(width, height);
- return __ret;
- }
- static StackObject* SetCursorPosition_97(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 top = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 left = ptr_of_this_method->Value;
- System.Console.SetCursorPosition(left, top);
- return __ret;
- }
- static StackObject* SetWindowPosition_98(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 top = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 left = ptr_of_this_method->Value;
- System.Console.SetWindowPosition(left, top);
- return __ret;
- }
- static StackObject* SetWindowSize_99(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 height = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 width = ptr_of_this_method->Value;
- System.Console.SetWindowSize(width, height);
- return __ret;
- }
- }
- }
|