5 writes to _statements
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.BasicBlockBuilder.cs (5)
55_statements = ArrayBuilder<IOperation>.GetInstance(); 69_statements = other._statements; 70other._statements = null; 89_statements = null; 309_statements = null;
12 references to _statements
Microsoft.CodeAnalysis (12)
Operations\ControlFlowGraphBuilder.BasicBlockBuilder.cs (12)
44public bool HasStatements => _statements?.Count > 0; 47public ArrayBuilder<IOperation>? StatementsOpt => _statements; 53if (_statements == null) 58_statements.Add(operation); 63if (other._statements == null) 67else if (_statements == null) 69_statements = other._statements; 74_statements.AddRange(other._statements); 75other._statements.Clear(); 83_statements?.ToImmutableAndFree() ?? ImmutableArray<IOperation>.Empty, 308_statements?.Free();