/// <summary> /// Generates the IL instructions that pushes /// the target instance on which calls should be delegated to. /// </summary> /// <param name="il">The IL generator to use.</param> protected override void PushTarget(ILGenerator il) { _aopProxyGenerator.PushAdvisedProxy(il); }
/// <summary> /// Generates the IL instructions that pushes /// the target type on stack. /// </summary> /// <param name="il">The IL generator to use.</param> protected virtual void PushTargetType(ILGenerator il) { aopProxyGenerator.PushAdvisedProxy(il); il.Emit(OpCodes.Ldfld, References.TargetTypeField); }