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