21 references to ThrowNotSupportedException
System.Linq (21)
System\Linq\Grouping.cs (5)
403
void ICollection<TElement>.Add(TElement item) => ThrowHelper.
ThrowNotSupportedException
();
405
void ICollection<TElement>.Clear() => ThrowHelper.
ThrowNotSupportedException
();
416
void IList<TElement>.Insert(int index, TElement item) => ThrowHelper.
ThrowNotSupportedException
();
418
void IList<TElement>.RemoveAt(int index) => ThrowHelper.
ThrowNotSupportedException
();
432
set => ThrowHelper.
ThrowNotSupportedException
();
System\Linq\Iterator.cs (1)
110
void IEnumerator.Reset() => ThrowHelper.
ThrowNotSupportedException
();
System\Linq\Range.SpeedOpt.cs (5)
102
set => ThrowHelper.
ThrowNotSupportedException
();
107
void ICollection<int>.Add(int item) => ThrowHelper.
ThrowNotSupportedException
();
108
void ICollection<int>.Clear() => ThrowHelper.
ThrowNotSupportedException
();
109
void IList<int>.Insert(int index, int item) => ThrowHelper.
ThrowNotSupportedException
();
111
void IList<int>.RemoveAt(int index) => ThrowHelper.
ThrowNotSupportedException
();
System\Linq\Repeat.SpeedOpt.cs (5)
106
set => ThrowHelper.
ThrowNotSupportedException
();
111
void ICollection<TResult>.Add(TResult item) => ThrowHelper.
ThrowNotSupportedException
();
112
void ICollection<TResult>.Clear() => ThrowHelper.
ThrowNotSupportedException
();
113
void IList<TResult>.Insert(int index, TResult item) => ThrowHelper.
ThrowNotSupportedException
();
115
void IList<TResult>.RemoveAt(int index) => ThrowHelper.
ThrowNotSupportedException
();
System\Linq\SkipTake.SpeedOpt.cs (5)
186
set => ThrowHelper.
ThrowNotSupportedException
();
191
void ICollection<TSource>.Add(TSource item) => ThrowHelper.
ThrowNotSupportedException
();
192
void ICollection<TSource>.Clear() => ThrowHelper.
ThrowNotSupportedException
();
193
void IList<TSource>.Insert(int index, TSource item) => ThrowHelper.
ThrowNotSupportedException
();
195
void IList<TSource>.RemoveAt(int index) => ThrowHelper.
ThrowNotSupportedException
();