3 instantiations of ImmutableArray
System.Threading.Tasks.Dataflow (3)
Internal\ImmutableArray.cs (3)
29
private static readonly ImmutableArray<T> s_empty = new
ImmutableArray
<T>(new T[0]);
55
return new
ImmutableArray
<T>(newArray);
74
return new
ImmutableArray
<T>(newArray);
12 references to ImmutableArray
System.Threading.Tasks.Dataflow (12)
Base\DataflowBlock.cs (8)
2337
_observersState.Observers =
ImmutableArray
<IObserver<TOutput>>.Empty;
2387
private
ImmutableArray
<IObserver<TOutput>> ResetObserverState()
2397
ImmutableArray
<IObserver<TOutput>> currentObservers = currentState.Observers;
2448
internal
ImmutableArray
<IObserver<TOutput>> Observers =
ImmutableArray
<IObserver<TOutput>>.Empty;
2496
ImmutableArray
<IObserver<TOutput>> currentObservers;
2559
ImmutableArray
<IObserver<TOutput>> currentObservers;
2567
Observers =
ImmutableArray
<IObserver<TOutput>>.Empty;
Internal\ImmutableArray.cs (4)
29
private static readonly
ImmutableArray
<T> s_empty = new ImmutableArray<T>(new T[0]);
35
public static
ImmutableArray
<T> Empty { get { return s_empty; } }
48
public
ImmutableArray
<T> Add(T item)
61
public
ImmutableArray
<T> Remove(T item)