3 writes to ContextBuffer
Microsoft.VisualStudio.LanguageServices (3)
DebuggerIntelliSense\AbstractDebuggerIntelliSenseContext.cs (3)
56this.ContextBuffer = contextBuffer; 75this.ContextBuffer = contextBuffer; 147this.ContextBuffer = this.ProjectionBufferFactoryService.CreateProjectionBuffer(null,
8 references to ContextBuffer
Microsoft.VisualStudio.LanguageServices (6)
DebuggerIntelliSense\AbstractDebuggerIntelliSenseContext.cs (6)
127var document = ContextBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 148new object[] { this.ContextBuffer.CurrentSnapshot.CreateFullTrackingSpan(SpanTrackingMode.EdgeInclusive) }, ProjectionBufferOptions.None, _contentType); 151using (var regionEdit = this.ContextBuffer.CreateReadOnlyRegionEdit()) 153regionEdit.CreateReadOnlyRegion(new Span(0, this.ContextBuffer.CurrentSnapshot.Length), SpanTrackingMode.EdgeInclusive, EdgeInsertionMode.Deny); 160var contextPoint = this.ContextBuffer.CurrentSnapshot.GetLineFromLineNumber(CurrentStatementSpan.iEndLine).Start + CurrentStatementSpan.iEndIndex; 167var restOfFileSpan = ContextBuffer.CurrentSnapshot.CreateTrackingSpanFromIndexToEnd(adjustedContextPoint, SpanTrackingMode.EdgePositive);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpDebuggerIntelliSenseContext.cs (1)
92var previousTrackingSpan = ContextBuffer.CurrentSnapshot.CreateTrackingSpan(Span.FromBounds(0, contextPoint), SpanTrackingMode.EdgeNegative);
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
LanguageService\VisualBasicDebuggerIntelliSenseContext.vb (1)
120Dim previousTrackingSpan = ContextBuffer.CurrentSnapshot.CreateTrackingSpan(Span.FromBounds(0, contextPoint), SpanTrackingMode.EdgeNegative)