14 references to ExtractNegativeCacheTtl
System.Net.NameResolution (14)
System\Net\DnsResolverPal.Managed.cs (14)
130return new DnsResult<AddressRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 168TimeSpan negTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 178return new DnsResult<SrvRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 233TimeSpan negTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 243return new DnsResult<TxtRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 263TimeSpan txtNegTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 273return new DnsResult<MxRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 288TimeSpan mxNegTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 298return new DnsResult<CNameRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 313TimeSpan cnameNegTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 323return new DnsResult<PtrRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 338TimeSpan ptrNegTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 348return new DnsResult<NsRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 363TimeSpan nsNegTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero;