7 writes to _dirtyState
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (7)
LineCommit\CommitBufferManager.vb (7)
104
_dirtyState
= Nothing
157
_dirtyState
= Nothing
170
_dirtyState
= New DirtyState(snapshotSpan, snapshotSpan.Snapshot, document)
173
_dirtyState
= _dirtyState.WithExpandedDirtySpan(snapshotSpan)
291
_dirtyState
= New DirtyState(encompassingNewSpan, e.Before, documentBeforePreviousEdit)
294
_dirtyState
= _dirtyState.WithExpandedDirtySpan(encompassingNewSpan)
303
_dirtyState
= Nothing
10 references to _dirtyState
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (10)
LineCommit\CommitBufferManager.vb (10)
92
Return
_dirtyState
IsNot Nothing
108
If
_dirtyState
Is Nothing Then
127
Dim dirtyRegion =
_dirtyState
.DirtyRegion.GetSpan(_buffer.CurrentSnapshot)
151
Dim tree =
_dirtyState
.BaseDocument.GetSyntaxTreeSynchronously(cancellationToken)
152
_commitFormatter.CommitRegion(info.SpanToFormat, isExplicitFormat, useSemantics, dirtyRegion,
_dirtyState
.BaseSnapshot, tree, cancellationToken)
167
If
_dirtyState
Is Nothing Then
173
_dirtyState =
_dirtyState
.WithExpandedDirtySpan(snapshotSpan)
254
If
_dirtyState
Is Nothing Then
286
If
_dirtyState
Is Nothing Then
294
_dirtyState =
_dirtyState
.WithExpandedDirtySpan(encompassingNewSpan)