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