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