3 writes to _currentBlock
Microsoft.CodeAnalysis.Razor.Compiler (3)
Language\Legacy\ClassifiedSpanVisitor.cs (3)
386
_currentBlock
= node;
404
visitor.
_currentBlock
= _previousBlock;
459
_currentBlock
= null!;
4 references to _currentBlock
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\Legacy\ClassifiedSpanVisitor.cs (4)
398
private readonly SyntaxNode? _previousBlock = visitor.
_currentBlock
;
411
=> _currentBlockSpan ??=
_currentBlock
.AssumeNotNull().GetSourceSpan(_source);
420
Debug.Assert(
_currentBlock
!= null, "Current block should not be null when writing a span for a node.");
438
Debug.Assert(
_currentBlock
!= null, "Current block should not be null when writing a span for a token.");