23 references to ThrowArgumentException
Microsoft.CodeAnalysis.Workspaces (23)
src\Dependencies\Collections\SegmentedArray.cs (3)
194
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
345
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
388
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
src\Dependencies\Collections\SegmentedDictionary`2.cs (12)
370
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
882
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
887
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_NonZeroLowerBound);
897
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
1325
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
1377
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
1382
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_NonZeroLowerBound);
1392
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
1533
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
1585
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
1590
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_NonZeroLowerBound);
1600
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
816
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_ArrayPlusOffTooSmall);
src\Dependencies\Collections\SegmentedList`1.cs (7)
371
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
456
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Arg_RankMultiDimNotSupported);
478
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
759
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
1162
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
1204
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);
1244
ThrowHelper.
ThrowArgumentException
(ExceptionResource.Argument_InvalidOffLen);