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