1 write to _spans
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\ClassifiedSpanVisitor.cs (1)
29_spans = ImmutableArray.CreateBuilder<ClassifiedSpanInternal>();
5 references to _spans
Microsoft.CodeAnalysis.Razor.Compiler (5)
Language\Legacy\ClassifiedSpanVisitor.cs (5)
50=> _spans.ToImmutableAndClear(); 446=> _spans.Add(new(span, CurrentBlockSpan, kind, _currentBlockKind, acceptedCharacters)); 450_spans.Clear(); 452if (_spans.Capacity > MaximumObjectSize) 455_spans.Capacity = 0;