2 instantiations of VBuffer
Microsoft.CodeAnalysis.Workspaces (2)
Differencing\LongestCommonSubsequence.cs (2)
25private static readonly ObjectPool<VBuffer> s_pool = new(() => new VBuffer()); 161_currentBuffer = _currentBuffer.Next ?? new VBuffer(_currentBuffer);
12 references to VBuffer
Microsoft.CodeAnalysis.Workspaces (12)
Differencing\LongestCommonSubsequence.cs (12)
20/// must be less than <see cref="VBuffer.PooledSegmentMaxDepthThreshold"/>. 22public const int MaxSequenceLengthForDistanceCalculation = VBuffer.PooledSegmentMaxDepthThreshold / 2; 25private static readonly ObjectPool<VBuffer> s_pool = new(() => new VBuffer()); 76public VBuffer Previous { get; private set; } 77public VBuffer Next { get; private set; } 90public VBuffer(VBuffer previous) 141private readonly ObjectPool<VBuffer> _bufferPool; 142private readonly VBuffer _firstBuffer; 144private VBuffer _currentBuffer; 147public VStack(ObjectPool<VBuffer> bufferPool) 169var buffer = _currentBuffer; 174var previousBuffer = buffer.Previous;