72 references to ThrowNotSupportedException
System.Private.CoreLib (72)
src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
649
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
670
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
675
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
680
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)
1931
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_KeyCollectionSet);
1934
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_KeyCollectionSet);
1941
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_KeyCollectionSet);
2126
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ValueCollectionSet);
2130
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ValueCollectionSet);
2135
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)
63
set => ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
68
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
73
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
78
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
83
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
89
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
179
set => ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
184
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
190
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
220
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
225
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
230
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (27)
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);
372
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
430
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
488
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
568
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
586
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
644
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
702
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
760
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
818
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
876
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1009
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1142
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1200
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1257
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1275
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1337
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1399
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1461
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1519
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1577
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
1595
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (6)
783
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
795
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
807
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
819
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
831
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
843
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
src\System\Array.CoreCLR.cs (7)
479
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
520
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.Arg_TypeNotSupported);
820
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
841
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_ReadOnlyCollection);
855
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
861
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);
868
ThrowHelper.
ThrowNotSupportedException
(ExceptionResource.NotSupported_FixedSizeCollection);