3 writes to _currentBlock
Microsoft.CodeAnalysis.Razor.Compiler (3)
Language\Legacy\ClassifiedSpanVisitor.cs (3)
385
_currentBlock
= node;
403
visitor.
_currentBlock
= _previousBlock;
458
_currentBlock
= null!;
4 references to _currentBlock
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\Legacy\ClassifiedSpanVisitor.cs (4)
397
private readonly SyntaxNode? _previousBlock = visitor.
_currentBlock
;
410
=> _currentBlockSpan ??=
_currentBlock
.AssumeNotNull().GetSourceSpan(_source);
419
Debug.Assert(
_currentBlock
!= null, "Current block should not be null when writing a span for a node.");
437
Debug.Assert(
_currentBlock
!= null, "Current block should not be null when writing a span for a token.");