12 references to GetInstance
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (12)
src\Compilers\Core\Portable\Collections\ArrayBuilderExtensions.cs (3)
91
var builder = ArrayBuilder<TResult>.
GetInstance
(items.Count);
131
var builder = ArrayBuilder<TResult>.
GetInstance
(items.Count);
171
var builder = ArrayBuilder<TResult>.
GetInstance
(items.Count);
src\Compilers\Core\Portable\Collections\ImmutableArrayExtensions.cs (4)
191
var builder = ArrayBuilder<TResult>.
GetInstance
(items.Length);
453
var builder = ArrayBuilder<TResult>.
GetInstance
(self.Length);
1088
arrayBuilder = ArrayBuilder<T>.
GetInstance
(capacity: 2);
1182
var builder = ArrayBuilder<TNamedTypeSymbol>.
GetInstance
(count);
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (1)
98
_builder = ArrayBuilder<T>.
GetInstance
(capacity)
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (2)
430
var builder = ArrayBuilder<TResult>.
GetInstance
(source.Count);
443
var builder = ArrayBuilder<TResult>.
GetInstance
(source.Count);
src\Dependencies\PooledObjects\ArrayBuilder.cs (2)
374
var tmp = ArrayBuilder<U>.
GetInstance
(Count);
708
var result = ArrayBuilder<S>.
GetInstance
(Count);