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