public override void SayBoo(string a, object b, IntPtr c, int d, string e) { if (InterceptManager.Intercept(this.GetType().GetMethod("SayBoo"), this)) { throw new InterceptException(); } base.SayBoo(a, b, c, d, e); }
public override string SayHello(int param1) { if (InterceptManager.Intercept(this.GetType().GetMethod("SayHello"), this)) { throw new InterceptException(); } return(base.SayHello(param1)); }