8 references to Equal
Microsoft.AspNetCore.Rewrite (3)
ApacheModRewrite\RuleBuilder.cs (1)
80match = new IntegerMatch(input.Operand, IntegerOperationType.Equal);
UrlMatches\IntegerMatch.cs (2)
28if (operation < IntegerOperationType.Equal || operation > IntegerOperationType.NotEqual) 46case IntegerOperationType.Equal:
Microsoft.AspNetCore.Rewrite.Tests (5)
UrlMatches\IntegerMatchTests.cs (5)
14var ex = Assert.Throws<FormatException>(() => new IntegerMatch("Not an int", IntegerOperationType.Equal)); 19[InlineData(1, (int)IntegerOperationType.Equal, "1", true)] 25[InlineData(1, (int)IntegerOperationType.Equal, "Not an int", false)] 26[InlineData(1, (int)IntegerOperationType.Equal, "", false)] 27[InlineData(1, (int)IntegerOperationType.Equal, "2147483648", false)]