74 references to ThrowNotSupportedException
System.Private.CoreLib (74)
src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
1036ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 1057ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 1062ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 1067ThrowHelper.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 (29)
71ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 132ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 198ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 256ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 447ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 465ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 523ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 563ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 621ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 679ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 759ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 777ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 835ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 893ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 951ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1009ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1067ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1200ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1333ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1391ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1448ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1466ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1528ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1590ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1652ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1710ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1768ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1958ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1976ThrowHelper.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)
152ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 193ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 455ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 476ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 490ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 496ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 503ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection);