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