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