65 references to ThrowNotSupportedException
System.Private.CoreLib (65)
src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
651
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
672
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
677
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
682
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
167
object ICollection.SyncRoot { get { ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.ConcurrentCollection_SyncRoot_NotSupported); return default; } }
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (6)
1507
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_KeyCollectionSet);
1510
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_KeyCollectionSet);
1517
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_KeyCollectionSet);
1702
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ValueCollectionSet);
1706
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ValueCollectionSet);
1711
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ValueCollectionSet);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (9)
43
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
59
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
70
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
100
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
115
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
128
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
285
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
327
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
349
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (12)
62
set => ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
67
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
72
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
77
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
82
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
88
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
178
set => ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
183
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
189
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
219
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
224
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
229
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (21)
71
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
132
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
198
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
256
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
274
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
332
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
390
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
448
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
528
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
546
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
604
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
662
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
720
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
778
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
836
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
893
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
955
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1017
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1079
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1137
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1195
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (6)
791
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
803
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
815
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
827
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
839
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
851
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
src\System\Array.CoreCLR.cs (6)
525
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
763
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
784
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
798
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
804
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
811
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);