3 references to TryParseNonNegativeInt32
Microsoft.Net.Http.Headers (1)
CacheControlHeaderValue.cs (1)
779
if (!HeaderUtilities.
TryParseNonNegativeInt32
(nameValue.Value, out seconds))
Microsoft.Net.Http.Headers.Tests (2)
HeaderUtilitiesTest.cs (2)
211
Assert.False(HeaderUtilities.
TryParseNonNegativeInt32
(valueString, out value));
221
Assert.True(HeaderUtilities.
TryParseNonNegativeInt32
(valueString, out value));