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