|
|
@@ -28,9 +28,9 @@ namespace ILRuntime.Runtime.Generated
|
|
|
args = new Type[]{typeof(System.Int32)};
|
|
|
method = type.GetMethod("get_Chars", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, get_Chars_1);
|
|
|
- args = new Type[]{typeof(System.String), typeof(System.Object)};
|
|
|
- method = type.GetMethod("Format", flag, null, args, null);
|
|
|
- app.RegisterCLRMethodRedirection(method, Format_2);
|
|
|
+ args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.String)};
|
|
|
+ method = type.GetMethod("Concat", flag, null, args, null);
|
|
|
+ app.RegisterCLRMethodRedirection(method, Concat_2);
|
|
|
args = new Type[]{typeof(System.String), typeof(System.String)};
|
|
|
method = type.GetMethod("Concat", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, Concat_3);
|
|
|
@@ -49,6 +49,9 @@ namespace ILRuntime.Runtime.Generated
|
|
|
args = new Type[]{typeof(System.String), typeof(System.String)};
|
|
|
method = type.GetMethod("op_Equality", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, op_Equality_8);
|
|
|
+ args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.String), typeof(System.String)};
|
|
|
+ method = type.GetMethod("Concat", flag, null, args, null);
|
|
|
+ app.RegisterCLRMethodRedirection(method, Concat_9);
|
|
|
|
|
|
app.RegisterCLRCreateArrayInstance(type, s => new System.String[s]);
|
|
|
|
|
|
@@ -97,22 +100,26 @@ namespace ILRuntime.Runtime.Generated
|
|
|
return __ret + 1;
|
|
|
}
|
|
|
|
|
|
- static StackObject* Format_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
+ static StackObject* Concat_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
{
|
|
|
ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
|
|
|
StackObject* ptr_of_this_method;
|
|
|
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
|
|
|
+ StackObject* __ret = ILIntepreter.Minus(__esp, 3);
|
|
|
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
|
|
|
- System.Object @arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ System.String @str2 = (System.String)typeof(System.String).CheckCLRTypes(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(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ System.String @str1 = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
__intp.Free(ptr_of_this_method);
|
|
|
|
|
|
+ ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
|
|
|
+ System.String @str0 = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ __intp.Free(ptr_of_this_method);
|
|
|
|
|
|
- var result_of_this_method = System.String.Format(@format, @arg0);
|
|
|
+
|
|
|
+ var result_of_this_method = System.String.Concat(@str0, @str1, @str2);
|
|
|
|
|
|
return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
|
|
|
}
|
|
|
@@ -238,6 +245,34 @@ namespace ILRuntime.Runtime.Generated
|
|
|
return __ret + 1;
|
|
|
}
|
|
|
|
|
|
+ static StackObject* Concat_9(ILIntepreter __intp, StackObject* __esp, IList<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.String @str3 = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ __intp.Free(ptr_of_this_method);
|
|
|
+
|
|
|
+ ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
|
|
|
+ System.String @str2 = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ __intp.Free(ptr_of_this_method);
|
|
|
+
|
|
|
+ ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
|
|
|
+ System.String @str1 = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ __intp.Free(ptr_of_this_method);
|
|
|
+
|
|
|
+ ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
|
|
|
+ System.String @str0 = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ __intp.Free(ptr_of_this_method);
|
|
|
+
|
|
|
+
|
|
|
+ var result_of_this_method = System.String.Concat(@str0, @str1, @str2, @str3);
|
|
|
+
|
|
|
+ return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
}
|