private static void GuardTypeInterceptable(Type typeToIntercept, IInterceptor interceptor) { if (!interceptor.CanIntercept(typeToIntercept)) { throw new ArgumentException( string.Format( CultureInfo.CurrentCulture, Resources.InterceptionNotSupported, typeToIntercept.FullName), "typeToIntercept"); } }