72 references to ThrowNotSupportedException
System.Private.CoreLib (72)
src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
649ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 670ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 675ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 680ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection);
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
167object ICollection.SyncRoot { get { ThrowHelper.ThrowNotSupportedException(ExceptionResource.ConcurrentCollection_SyncRoot_NotSupported); return default; } }
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (6)
1931ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 1934ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 1941ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 2126ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 2130ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 2135ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (9)
43ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 59ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 70ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 100ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 115ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 128ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 285ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 327ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 349ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (12)
63set => ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 68ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 73ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 78ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 83ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 89ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 179set => ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 184ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 190ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 220ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 225ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 230ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (27)
71ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 132ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 198ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 256ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 274ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 332ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 372ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 430ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 488ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 568ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 586ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 644ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 702ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 760ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 818ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 876ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1009ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1142ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1200ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1257ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1275ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1337ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1399ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1461ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1519ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1577ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1595ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (6)
783ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 795ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 807ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 819ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 831ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 843ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported);
src\System\Array.CoreCLR.cs (7)
479ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 520ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 820ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 841ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 855ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 861ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 868ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection);