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