Implemented interface member:
1 write to SubjectBuffer
Microsoft.CodeAnalysis.EditorFeatures (1)
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (1)
56
SubjectBuffer
= subjectBuffer;
23 references to SubjectBuffer
Microsoft.CodeAnalysis.EditorFeatures (23)
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (23)
59
ClosingPoint =
SubjectBuffer
.CurrentSnapshot.CreateTrackingPoint(openingPoint.Position, PointTrackingMode.Positive);
82
var closingSnapshotPoint = ClosingPoint.GetPoint(
SubjectBuffer
.CurrentSnapshot);
100
OpeningPoint =
SubjectBuffer
.CurrentSnapshot.CreateTrackingPoint(openingSnapshotPoint, PointTrackingMode.Positive);
102
var document =
SubjectBuffer
.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
125
ClosingPoint =
SubjectBuffer
.CurrentSnapshot.CreateTrackingPoint(ClosingPoint.GetPoint(
SubjectBuffer
.CurrentSnapshot), PointTrackingMode.Negative);
129
var indentationOptions =
SubjectBuffer
.GetIndentationOptions(_editorOptionsService, document.Project.GetFallbackAnalyzerOptions(), contextAfterStart.Document.LanguageServices, explicitFormat: false);
147
var snapshot =
SubjectBuffer
.CurrentSnapshot;
153
using var edit =
SubjectBuffer
.CreateEdit();
192
var snapshot = this.
SubjectBuffer
.CurrentSnapshot;
220
using var edit =
SubjectBuffer
.CreateEdit();
278
var closingSnapshotPoint = ClosingPoint.GetPoint(
SubjectBuffer
.CurrentSnapshot);
287
var indentationOptions =
SubjectBuffer
.GetIndentationOptions(_editorOptionsService, context.FallbackOptions, context.Document.LanguageServices, explicitFormat: false);
333
var closingSnapshotPoint = ClosingPoint.GetPoint(
SubjectBuffer
.CurrentSnapshot);
378
var closingSnapshotPoint = ClosingPoint.GetPoint(
SubjectBuffer
.CurrentSnapshot);
394
var document =
SubjectBuffer
.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
408
var snapshot =
SubjectBuffer
.CurrentSnapshot;
421
using var edit =
SubjectBuffer
.CreateEdit();
431
Contract.ThrowIfFalse(
SubjectBuffer
.CurrentSnapshot[OpeningPoint.GetPosition(
SubjectBuffer
.CurrentSnapshot)] == OpeningBrace,
433
Contract.ThrowIfFalse(
SubjectBuffer
.CurrentSnapshot[ClosingPoint.GetPosition(
SubjectBuffer
.CurrentSnapshot) - 1] == ClosingBrace,
441
var caretLine =
SubjectBuffer
.CurrentSnapshot.GetLineFromLineNumber(result.CaretLocation.Line);