2 instantiations of TemporaryArray
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (2)
96
return new
TemporaryArray
<T>()
453
_array = new
TemporaryArray
<T>(in array);
12 references to TemporaryArray
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (12)
src\Compilers\Core\Portable\Collections\ImmutableArrayExtensions.cs (1)
943
internal static ImmutableArray<T> AddRange<T>(this ImmutableArray<T> self, in
TemporaryArray
<T> items)
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (11)
76
/// This field is initialized to non-<see langword="null"/> the first time the <see cref="
TemporaryArray
{T}"/>
82
private TemporaryArray(in
TemporaryArray
<T> array)
90
public static
TemporaryArray
<T> GetInstance(int capacity)
102
public static
TemporaryArray
<T> Empty => default;
198
public void AddRange(in
TemporaryArray
<T> items)
326
/// Transitions the current <see cref="
TemporaryArray
{T}"/> from inline storage to dynamic storage storage. An
445
private readonly
TemporaryArray
<T> _array;
450
public Enumerator(in
TemporaryArray
<T> array)
477
public static int InlineCapacity =>
TemporaryArray
<T>.InlineCapacity;
479
public static bool HasDynamicStorage(in
TemporaryArray
<T> array)
482
public static int InlineCount(in
TemporaryArray
<T> array)