mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
grrr, wasn't properly copying the invoker method causing painful to debug symptoms :(
This commit is contained in:
parent
a020c85e5f
commit
826bf6b515
@ -1143,8 +1143,13 @@ namespace Twiglet.CS2J.Translator.TypeRep
|
||||
{
|
||||
public InvokeRepTemplate()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public InvokeRepTemplate(TypeRepTemplate parent, MethodRepTemplate copyFrom)
|
||||
: base(parent, copyFrom)
|
||||
{
|
||||
}
|
||||
|
||||
public InvokeRepTemplate (string retType, string methodName, string[] tParams, List<ParamRepTemplate> pars) : base(retType, methodName, tParams, pars)
|
||||
{
|
||||
}
|
||||
@ -2956,7 +2961,7 @@ namespace Twiglet.CS2J.Translator.TypeRep
|
||||
{
|
||||
if (copyFrom.Invoke != null)
|
||||
{
|
||||
Invoke = copyFrom.Invoke;
|
||||
Invoke = new InvokeRepTemplate(this, copyFrom.Invoke);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user