7 writes to CollectionEnumerator
System.Text.Json (7)
System\Text\Json\Serialization\Converters\Collection\DictionaryDefaultConverter.cs (1)
31state.Current.CollectionEnumerator = enumerator;
System\Text\Json\Serialization\Converters\Collection\DictionaryOfTKeyTValueConverter.cs (2)
66state.Current.CollectionEnumerator = enumerator; 81state.Current.CollectionEnumerator = enumerator;
System\Text\Json\Serialization\Converters\Collection\IDictionaryConverter.cs (1)
48state.Current.CollectionEnumerator = enumerator;
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverter.cs (1)
49state.Current.CollectionEnumerator = enumerator;
System\Text\Json\Serialization\Converters\Collection\IEnumerableDefaultConverter.cs (1)
25state.Current.CollectionEnumerator = enumerator;
System\Text\Json\Serialization\Converters\Collection\StackOrQueueConverter.cs (1)
49state.Current.CollectionEnumerator = enumerator;
17 references to CollectionEnumerator
System.Text.Json (17)
System\Text\Json\Serialization\Converters\Collection\DictionaryDefaultConverter.cs (2)
28if (state.Current.CollectionEnumerator == null) 40enumerator = (IEnumerator<KeyValuePair<TKey, TValue>>)state.Current.CollectionEnumerator;
System\Text\Json\Serialization\Converters\Collection\DictionaryOfTKeyTValueConverter.cs (2)
32if (state.Current.CollectionEnumerator == null) 43enumerator = (Dictionary<TKey, TValue>.Enumerator)state.Current.CollectionEnumerator;
System\Text\Json\Serialization\Converters\Collection\IDictionaryConverter.cs (2)
45if (state.Current.CollectionEnumerator == null) 56enumerator = (IDictionaryEnumerator)state.Current.CollectionEnumerator;
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverter.cs (2)
46if (state.Current.CollectionEnumerator == null) 57enumerator = state.Current.CollectionEnumerator;
System\Text\Json\Serialization\Converters\Collection\IEnumerableDefaultConverter.cs (3)
22if (state.Current.CollectionEnumerator == null) 34Debug.Assert(state.Current.CollectionEnumerator is IEnumerator<TElement>); 35enumerator = (IEnumerator<TElement>)state.Current.CollectionEnumerator;
System\Text\Json\Serialization\Converters\Collection\StackOrQueueConverter.cs (2)
46if (state.Current.CollectionEnumerator == null) 57enumerator = state.Current.CollectionEnumerator;
System\Text\Json\Serialization\WriteStack.cs (4)
315DisposeFrame(Current.CollectionEnumerator, ref exception); 321DisposeFrame(_stack[i].CollectionEnumerator, ref exception); 353exception = await DisposeFrame(Current.CollectionEnumerator, Current.AsyncDisposable, exception).ConfigureAwait(false); 358exception = await DisposeFrame(_stack[i].CollectionEnumerator, _stack[i].AsyncDisposable, exception).ConfigureAwait(false);