Linfu dynamic proxies do not handle methods with out or ref parameters
correctly.
Calls to such methods will always return null for these parameters.
The affected file is LinFu.DynamicProxy\DefaultMethodEmitter.cs
Method SaveRefArguments
Line 143:
bool isRef = param.ParameterType.IsByRef && typeName.EndsWith("&");
correct would be:
bool isRef = param.ParameterType.IsByRef &&
param.ParameterType.Name.EndsWith("&");
Original issue reported on code.google.com by marcel.d...@parallel.ch on 7 Apr 2009 at 9:32
Original issue reported on code.google.com by
marcel.d...@parallel.ch
on 7 Apr 2009 at 9:32