This question is locked. New answers and comments are not allowed.
Hello,
I just encountered a problem with your Batch Converter concerning how the out-parameter of C# is converted into VB.NET.
Namely, I noticed that when in the C# method-calling there is out parameter included (for example):
PrintControl(c, ParentControlPrinting.BeforeChilds, mp, x, y, ref extendedHeight, out scanForChildControls);
... then the corresponding conversion in VB.NET functions not right - because the Sub method that is being called should
have ByRef keyword for the corresponding parameter (here scanForChildControls) to function properly - at least in
many cases. But your converter sets the keyword ByVal and ignores the out parameter.
Could this problem be solved?
Regards,
Matti Ylén
I just encountered a problem with your Batch Converter concerning how the out-parameter of C# is converted into VB.NET.
Namely, I noticed that when in the C# method-calling there is out parameter included (for example):
PrintControl(c, ParentControlPrinting.BeforeChilds, mp, x, y, ref extendedHeight, out scanForChildControls);
... then the corresponding conversion in VB.NET functions not right - because the Sub method that is being called should
have ByRef keyword for the corresponding parameter (here scanForChildControls) to function properly - at least in
many cases. But your converter sets the keyword ByVal and ignores the out parameter.
Could this problem be solved?
Regards,
Matti Ylén