2 writes to Object
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (2)
25Object = allocator(pool); 36Object = null!;
16 references to Object
Microsoft.CodeAnalysis.CodeStyle (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
46_stack = _pooledStack.Object;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (1)
29var stack = pooledStack.Object;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ContextMutableIntervalTree.cs (1)
88var spineNodes = pooledObject.Object;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (2)
122AddTokenOperations(tokenStream, tokenOperations.Object, cancellationToken); 135ApplyTokenOperations(context, nodeOperations, tokenOperations.Object, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
97var map = pooledObject.Object;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (7)
24builder = pooledObject.Object; 49stack = pooledObject.Object; 56list = pooledObject.Object; 63list = pooledObject.Object; 70set = pooledObject.Object; 78dictionary = pooledObject.Object; 86set = pooledObject.Object;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (2)
33if (Object != null) 35_releaser(_pool, Object);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
346var buffer = pooledObj.Object;