Implemented interface member:
1 write to SubjectBuffer
Microsoft.CodeAnalysis.EditorFeatures (1)
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (1)
58SubjectBuffer = subjectBuffer;
23 references to SubjectBuffer
Microsoft.CodeAnalysis.EditorFeatures (23)
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (23)
61ClosingPoint = SubjectBuffer.CurrentSnapshot.CreateTrackingPoint(openingPoint.Position, PointTrackingMode.Positive); 84var closingSnapshotPoint = ClosingPoint.GetPoint(SubjectBuffer.CurrentSnapshot); 102OpeningPoint = SubjectBuffer.CurrentSnapshot.CreateTrackingPoint(openingSnapshotPoint, PointTrackingMode.Positive); 104var document = SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 127ClosingPoint = SubjectBuffer.CurrentSnapshot.CreateTrackingPoint(ClosingPoint.GetPoint(SubjectBuffer.CurrentSnapshot), PointTrackingMode.Negative); 131var indentationOptions = SubjectBuffer.GetIndentationOptions(_editorOptionsService, contextAfterStart.Document.LanguageServices, explicitFormat: false); 149var snapshot = SubjectBuffer.CurrentSnapshot; 155using var edit = SubjectBuffer.CreateEdit(); 194var snapshot = this.SubjectBuffer.CurrentSnapshot; 222using var edit = SubjectBuffer.CreateEdit(); 280var closingSnapshotPoint = ClosingPoint.GetPoint(SubjectBuffer.CurrentSnapshot); 289var indentationOptions = SubjectBuffer.GetIndentationOptions(_editorOptionsService, context.Document.LanguageServices, explicitFormat: false); 335var closingSnapshotPoint = ClosingPoint.GetPoint(SubjectBuffer.CurrentSnapshot); 380var closingSnapshotPoint = ClosingPoint.GetPoint(SubjectBuffer.CurrentSnapshot); 396var document = SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 410var snapshot = SubjectBuffer.CurrentSnapshot; 423using var edit = SubjectBuffer.CreateEdit(); 433Contract.ThrowIfFalse(SubjectBuffer.CurrentSnapshot[OpeningPoint.GetPosition(SubjectBuffer.CurrentSnapshot)] == OpeningBrace, 435Contract.ThrowIfFalse(SubjectBuffer.CurrentSnapshot[ClosingPoint.GetPosition(SubjectBuffer.CurrentSnapshot) - 1] == ClosingBrace, 443var caretLine = SubjectBuffer.CurrentSnapshot.GetLineFromLineNumber(result.CaretLocation.Line);