9 references to ThrowIfGreaterThan
Microsoft.AspNetCore.Razor.Utilities.Shared (3)
ImmutableArrayExtensions.cs (1)
40
ArgHelper.
ThrowIfGreaterThan
(index, builder.Count);
ReadOnlyListExtensions.cs (2)
1041
ArgHelper.
ThrowIfGreaterThan
(start, list.Count);
1070
ArgHelper.
ThrowIfGreaterThan
(start + count, list.Count);
Microsoft.AspNetCore.Razor.Utilities.Shared.UnitTests (1)
ArgHelperTests.cs (1)
114
Verify(() => ArgHelper.
ThrowIfGreaterThan
(v1, v2), exceptionType);
Microsoft.CodeAnalysis.Razor.Compiler (5)
Language\CodeGeneration\CodeWriter.cs (1)
217
ArgHelper.
ThrowIfGreaterThan
(startIndex, value.Length - count);
Language\Syntax\SyntaxList`1.cs (2)
167
ArgHelper.
ThrowIfGreaterThan
(index, count);
200
ArgHelper.
ThrowIfGreaterThan
(index, count);
Language\Syntax\SyntaxTokenList.cs (2)
182
ArgHelper.
ThrowIfGreaterThan
(index, count);
210
ArgHelper.
ThrowIfGreaterThan
(index, count);