Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractProxyMethodBuilder.ProcessReturnValue Method

Replaces a raw reference with a reference to a proxy.

[Visual Basic]
Protected Overridable Sub ProcessReturnValue( _
   ByVal il As ILGenerator, _
   ByVal returnValue As LocalBuilder _
)
[C#]
protected virtual void ProcessReturnValue(
   ILGenerator il,
   LocalBuilder returnValue
);

Parameters

il
The IL generator to use.
returnValue
The location of the return value.

Remarks

If the target object returns reference to itself -- 'this' -- we need to treat it as a special case and return a reference to a proxy object instead.

See Also

AbstractProxyMethodBuilder Class | Spring.Proxy Namespace