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