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)
2250
_observersState.Observers =
ImmutableArray
<IObserver<TOutput>>.Empty;
2300
private
ImmutableArray
<IObserver<TOutput>> ResetObserverState()
2310
ImmutableArray
<IObserver<TOutput>> currentObservers = currentState.Observers;
2361
internal
ImmutableArray
<IObserver<TOutput>> Observers =
ImmutableArray
<IObserver<TOutput>>.Empty;
2409
ImmutableArray
<IObserver<TOutput>> currentObservers;
2472
ImmutableArray
<IObserver<TOutput>> currentObservers;
2480
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)