2 writes to _count
Microsoft.CodeAnalysis.Scripting (2)
ScriptExecutionState.cs (2)
30
_count
= count;
172
_count
++;
9 references to _count
Microsoft.CodeAnalysis.Scripting (9)
ScriptExecutionState.cs (9)
50
var copy = new object[
_count
];
51
Array.Copy(_submissionStates, copy,
_count
);
52
return new ScriptExecutionState(copy,
_count
);
57
return new ScriptExecutionState(_submissionStates,
_count
);
61
public int SubmissionStateCount =>
_count
;
65
Debug.Assert(index >= 0 && index <
_count
);
161
if (
_count
>= _submissionStates.Length)
163
Array.Resize(ref _submissionStates, Math.Max(
_count
, _submissionStates.Length * 2));
170
if (_submissionStates[
_count
] != null)