private static void ValidateCallback(Delegate callback) { if (callback.GetInvocationList().Length > 1) { throw new NotSupportedException("SmartThreadPool doesn't support delegates chains"); } }