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)
50var copy = new object[_count]; 51Array.Copy(_submissionStates, copy, _count); 52return new ScriptExecutionState(copy, _count); 57return new ScriptExecutionState(_submissionStates, _count); 61public int SubmissionStateCount => _count; 65Debug.Assert(index >= 0 && index < _count); 161if (_count >= _submissionStates.Length) 163Array.Resize(ref _submissionStates, Math.Max(_count, _submissionStates.Length * 2)); 170if (_submissionStates[_count] != null)