67 references to ThrowNotSupportedException
System.Private.CoreLib (67)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
1041ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 1062ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 1067ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 1072ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (6)
2040ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 2043ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 2050ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 2235ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 2239ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 2244ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet);
src\runtime\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\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (29)
105ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 166ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 232ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 290ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 481ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 499ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 557ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 597ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 655ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 713ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 793ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 811ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 869ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 927ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 985ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1043ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1101ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1235ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1369ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1387ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1461ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1479ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1541ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1603ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1665ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1723ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1781ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1971ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1989ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported);
src\runtime\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);