Amib.Threading.Internal.WorkItemFactory.ValidateCallback C# (CSharp) Method

ValidateCallback() private static method

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