Exemplo n.º 1
0
        public static tAsyncCall *ToString(tJITCallNative *pCallNative, byte *pThis_, byte *pParams, byte *pReturnValue)
        {
            char           ch;
            string         s;
            tSystemString *pResult;

            ch      = *(char *)pThis_;
            s       = ch.ToString();
            pResult = System_String.FromMonoString(s);

            Sys.INTERNALCALL_RESULT_PTR(pReturnValue, pResult);

            return(null);
        }
Exemplo n.º 2
0
 public static tAsyncCall *GetOSVersionString(tJITCallNative *pCallNative, byte *pThis_, byte *pParams, byte *pReturnValue)
 {
     *(tSystemString **)pReturnValue = System_String.FromMonoString(System.Environment.OSVersion.Version.ToString());
     return(null);
 }