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