1 write to _isBufferReadOnly
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
77
_isBufferReadOnly
= new DynamicReadOnlyRegionQuery(isEdit => !_session._isApplyingEdit);
3 references to _isBufferReadOnly
Microsoft.CodeAnalysis.EditorFeatures (3)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (3)
123
_readOnlyRegions.Add(readOnlyEdit.CreateDynamicReadOnlyRegion(newReadOnlySpan, SpanTrackingMode.EdgeExclusive, EdgeInsertionMode.Allow,
_isBufferReadOnly
));
132
_readOnlyRegions.Add(readOnlyEdit.CreateDynamicReadOnlyRegion(new Span(0, 0), SpanTrackingMode.EdgeExclusive, EdgeInsertionMode.Deny,
_isBufferReadOnly
));
137
_readOnlyRegions.Add(readOnlyEdit.CreateDynamicReadOnlyRegion(new Span(_subjectBuffer.CurrentSnapshot.Length, 0), SpanTrackingMode.EdgeExclusive, EdgeInsertionMode.Deny,
_isBufferReadOnly
));