3 writes to ContextBuffer
Microsoft.VisualStudio.LanguageServices (3)
DebuggerIntelliSense\AbstractDebuggerIntelliSenseContext.cs (3)
54this.ContextBuffer = contextBuffer; 73this.ContextBuffer = contextBuffer; 145this.ContextBuffer = this.ProjectionBufferFactoryService.CreateProjectionBuffer(null,
6 references to ContextBuffer
Microsoft.VisualStudio.LanguageServices (6)
DebuggerIntelliSense\AbstractDebuggerIntelliSenseContext.cs (6)
125var document = ContextBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 146[this.ContextBuffer.CurrentSnapshot.CreateFullTrackingSpan(SpanTrackingMode.EdgeInclusive)], ProjectionBufferOptions.None, ContentType); 149using (var regionEdit = this.ContextBuffer.CreateReadOnlyRegionEdit()) 151regionEdit.CreateReadOnlyRegion(new Span(0, this.ContextBuffer.CurrentSnapshot.Length), SpanTrackingMode.EdgeInclusive, EdgeInsertionMode.Deny); 158var contextPoint = this.ContextBuffer.CurrentSnapshot.GetLineFromLineNumber(CurrentStatementSpan.iEndLine).Start + CurrentStatementSpan.iEndIndex; 165var restOfFileSpan = ContextBuffer.CurrentSnapshot.CreateTrackingSpanFromIndexToEnd(adjustedContextPoint, SpanTrackingMode.EdgePositive);