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