40 for (
int num = 16; num > 0; num--)
72 string name =
block.GetType().Name;
153 if (
exc.InnerException !=
null)
164 if (data !=
null && !data.IsFixedSize && !data.
IsReadOnly && data[
key] ==
null)
193 list.AddRange(
ex.InnerExceptions);
236 return block.Completion;
254 long num = (long)
timeout.TotalMilliseconds;
257 return num <=
int.MaxValue;
311 if (
item.Key.ReserveMessage(
item.Value, target))
313 item.Key.ReleaseReservation(
item.Value, target);
326 AggregateException ex = (sourceCompletionTask.IsFaulted ? sourceCompletionTask.Exception :
null);
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
static ExceptionDispatchInfo Capture(Exception source)
static readonly Action< object, TargetRegistry< T >, ITargetBlock< T > > CreateUnlinkerShimAction
static readonly Func< T > DefaultTResultFunc
static void ThrowAsync(Exception error)
static readonly TaskCompletionSource< VoidResult > CompletedVoidResultTaskCompletionSource
static bool TryKeepAliveUntil< TStateIn, TStateOut >(KeepAlivePredicate< TStateIn, TStateOut > predicate, TStateIn stateIn, [MaybeNullWhen(false)] out TStateOut stateOut)
static bool IsCooperativeCancellation(Exception exception)
static readonly Task< bool > CompletedTaskWithFalseResult
static Exception StartTaskSafe(Task task, TaskScheduler scheduler)
static Exception StartTaskSafeCore(Task task, TaskScheduler scheduler)
static Task GetPotentiallyNotSupportedCompletionTask(IDataflowBlock block)
static void PropagateCompletionAsContinuation(Task sourceCompletionTask, IDataflowBlock target)
static TaskContinuationOptions GetContinuationOptions(TaskContinuationOptions toInclude=TaskContinuationOptions.None)
static readonly Action< Exception > AsyncExceptionHandler
static Task< TResult > CreateTaskFromCancellation< TResult >(CancellationToken cancellationToken)
static T UnwrapWeakReference< T >(object state)
static void ReleaseAllPostponedMessages< T >(ITargetBlock< T > target, QueuedMap< ISourceBlock< T >, DataflowMessageHeader > postponedMessages, ref List< Exception > exceptions)
static bool IsValidTimeout(TimeSpan timeout)
static void StoreDataflowMessageValueIntoExceptionData< T >(Exception exc, T messageValue, bool targetInnerExceptions=false)
static Task< bool > CreateCachedBooleanTask(bool value)
static void PropagateCompletionOnceCompleted(Task sourceCompletionTask, IDataflowBlock target)
delegate bool KeepAlivePredicate< TStateIn, TStateOut >(TStateIn stateIn, out TStateOut stateOut)
static readonly Task< bool > CompletedTaskWithTrueResult
static TaskCreationOptions GetCreationOptionsForTask(bool isReplacementReplica=false)
static void PropagateCompletion(Task sourceCompletionTask, IDataflowBlock target, Action< Exception > exceptionHandler)
static TaskCompletionSource< T > CreateCachedTaskCompletionSource< T >()
static string GetNameForDebugger(IDataflowBlock block, DataflowBlockOptions options=null)
static IDisposable CreateUnlinker< TOutput >(object outgoingLock, TargetRegistry< TOutput > targetRegistry, ITargetBlock< TOutput > targetBlock)
static void AddException([NotNull] ref List< Exception > list, Exception exception, bool unwrapInnerExceptions=false)
static readonly DataflowMessageHeader SingleMessageHeader
static Exception InitializeStackTrace(Exception exception)
static void WireCancellationToComplete(CancellationToken cancellationToken, Task completionTask, Action< object > completeAction, object completeState)
static int GetBlockId(IDataflowBlock block)
static Task< TResult > CreateTaskFromException< TResult >(Exception exception)
static void StoreStringIntoExceptionData(Exception exception, string key, string value)
static readonly TimeSpan InfiniteTimeSpan
static TaskScheduler Default
static bool QueueUserWorkItem(WaitCallback callBack)
static readonly TimeSpan InfiniteTimeSpan
void Fault(Exception exception)
static CancellationToken None