2 instantiations of PooledArrayBuilder
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PooledArrayBuilder.cs (2)
39=> new(ArrayBuilder<T>.GetInstance()); 42=> new(ArrayBuilder<T>.GetInstance(capacity));
46 references to PooledArrayBuilder
Microsoft.CodeAnalysis.CodeStyle (46)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (2)
46using var propertyNames = reader.ReadStringArray(); 47using var propertyIsReadOnly = reader.ReadBooleanArray();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ArrayTypeSymbolKey.cs (2)
31using var result = PooledArrayBuilder<IArrayTypeSymbol>.GetInstance(elementTypeResolution.SymbolCount);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AssemblySymbolKey.cs (2)
29using var result = PooledArrayBuilder<IAssemblySymbol>.GetInstance();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ErrorTypeSymbolKey.cs (3)
93using var result = PooledArrayBuilder<INamedTypeSymbol>.GetInstance(); 121using PooledArrayBuilder<string> namespaceNames = reader.ReadStringArray()!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (1)
57using var paramRefKinds = reader.ReadRefKindArray();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.MethodSymbolKey.cs (5)
42using var result = PooledArrayBuilder<IMethodSymbol>.GetInstance(); 102using var result = PooledArrayBuilder<IMethodSymbol>.GetInstance(); 168using var parameterRefKinds = reader.ReadRefKindArray();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ModuleSymbolKey.cs (2)
29using var result = PooledArrayBuilder<IModuleSymbol>.GetInstance(containingSymbolResolution.SymbolCount);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (5)
127using var result = PooledArrayBuilder<INamedTypeSymbol>.GetInstance(); 155using var result = PooledArrayBuilder<INamedTypeSymbol>.GetInstance(); 167PooledArrayBuilder<INamedTypeSymbol> result,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamespaceSymbolKey.cs (2)
89using var result = PooledArrayBuilder<INamespaceSymbol>.GetInstance();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ParameterSymbolKey.cs (3)
41using var result = PooledArrayBuilder<IParameterSymbol>.GetInstance(); 80PooledArrayBuilder<IParameterSymbol> result, SymbolKeyReader reader,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PointerTypeSymbolKey.cs (2)
33using var result = PooledArrayBuilder<IPointerTypeSymbol>.GetInstance(pointedAtTypeResolution.SymbolCount);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PooledArrayBuilder.cs (2)
38public static PooledArrayBuilder<T> GetInstance() 41public static PooledArrayBuilder<T> GetInstance(int capacity)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PropertySymbolKey.cs (3)
34using var refKinds = reader.ReadRefKindArray(); 37using var result = PooledArrayBuilder<IPropertySymbol>.GetInstance();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (6)
184public PooledArrayBuilder<TStringResult?> ReadStringArray() 187public PooledArrayBuilder<bool> ReadBooleanArray() 190public PooledArrayBuilder<RefKind> ReadRefKindArray() 193public PooledArrayBuilder<T> ReadSimpleArray<T>( 199var builder = PooledArrayBuilder<T>.GetInstance();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (4)
68using var elementNames = reader.ReadStringArray(); 80using var result = PooledArrayBuilder<INamedTypeSymbol>.GetInstance(); 96using var elementNames = reader.ReadStringArray();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TypeParameterSymbolKey.cs (2)
60using var result = PooledArrayBuilder<ITypeParameterSymbol>.GetInstance();