12 references to GetInstance
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (12)
src\Compilers\Core\Portable\Collections\ArrayBuilderExtensions.cs (3)
91var builder = ArrayBuilder<TResult>.GetInstance(items.Count); 131var builder = ArrayBuilder<TResult>.GetInstance(items.Count); 171var builder = ArrayBuilder<TResult>.GetInstance(items.Count);
src\Compilers\Core\Portable\Collections\ImmutableArrayExtensions.cs (4)
191var builder = ArrayBuilder<TResult>.GetInstance(items.Length); 453var builder = ArrayBuilder<TResult>.GetInstance(self.Length); 1088arrayBuilder = ArrayBuilder<T>.GetInstance(capacity: 2); 1182var 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)
430var builder = ArrayBuilder<TResult>.GetInstance(source.Count); 443var builder = ArrayBuilder<TResult>.GetInstance(source.Count);
src\Dependencies\PooledObjects\ArrayBuilder.cs (2)
374var tmp = ArrayBuilder<U>.GetInstance(Count); 708var result = ArrayBuilder<S>.GetInstance(Count);