2 instantiations of VBuffer
Microsoft.CodeAnalysis.Workspaces (2)
Differencing\LongestCommonSubsequence.cs (2)
18
private static readonly ObjectPool<VBuffer> s_pool = new(() => new
VBuffer
());
140
_currentBuffer = _currentBuffer.Next ?? new
VBuffer
(_currentBuffer);
10 references to VBuffer
Microsoft.CodeAnalysis.Workspaces (10)
Differencing\LongestCommonSubsequence.cs (10)
18
private static readonly ObjectPool<
VBuffer
> s_pool = new(() => new VBuffer());
55
public
VBuffer
Previous { get; private set; }
56
public
VBuffer
Next { get; private set; }
69
public VBuffer(
VBuffer
previous)
120
private readonly ObjectPool<
VBuffer
> _bufferPool;
121
private readonly
VBuffer
_firstBuffer;
123
private
VBuffer
_currentBuffer;
126
public VStack(ObjectPool<
VBuffer
> bufferPool)
148
var
buffer = _currentBuffer;
153
var
previousBuffer = buffer.Previous;