7 references to CheckValidTryParse
Microsoft.Net.Http.Headers.Tests (7)
RangeItemHeaderValueTest.cs (7)
90
CheckValidTryParse
("1-2", 1, 2);
91
CheckValidTryParse
(" 1-2", 1, 2);
92
CheckValidTryParse
("0-0", 0, 0);
93
CheckValidTryParse
(" 1-", 1, null);
94
CheckValidTryParse
(" -2", null, 2);
96
CheckValidTryParse
(" 684684 - 123456789012345 ", 684684, 123456789012345);
99
CheckValidTryParse
(" 1 - 2 ,", 1, 2);