65 references to ThrowNotSupportedException
System.Private.CoreLib (65)
src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
651ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 672ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 677ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 682ThrowHelper.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)
1507ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 1510ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 1517ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_KeyCollectionSet); 1702ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 1706ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ValueCollectionSet); 1711ThrowHelper.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)
62set => ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 67ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 72ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 77ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 82ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 88ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 178set => ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 183ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 189ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 219ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 224ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 229ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (21)
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); 390ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 448ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 528ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 546ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 604ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 662ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 720ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 778ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 836ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 893ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 955ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1017ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1079ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1137ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 1195ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (6)
791ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 803ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 815ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 827ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 839ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 851ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported);
src\System\Array.CoreCLR.cs (6)
525ThrowHelper.ThrowNotSupportedException(ExceptionResource.Arg_TypeNotSupported); 763ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 784ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); 798ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 804ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection); 811ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_FixedSizeCollection);