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); }
public static tAsyncCall *GetOSVersionString(tJITCallNative *pCallNative, byte *pThis_, byte *pParams, byte *pReturnValue) { *(tSystemString **)pReturnValue = System_String.FromMonoString(System.Environment.OSVersion.Version.ToString()); return(null); }