14 references to ExtractNegativeCacheTtl
System.Net.NameResolution (14)
System\Net\DnsResolverPal.Managed.cs (14)
120return new DnsResult<AddressRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 158TimeSpan negTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 168return new DnsResult<SrvRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 223TimeSpan negTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 233return new DnsResult<TxtRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 253TimeSpan txtNegTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 263return new DnsResult<MxRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 278TimeSpan mxNegTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 288return new DnsResult<CNameRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 303TimeSpan cnameNegTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 313return new DnsResult<PtrRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 328TimeSpan ptrNegTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero; 338return new DnsResult<NsRecord>(header.ResponseCode, null, ExtractNegativeCacheTtl(response)); 353TimeSpan nsNegTtl = records.Count == 0 ? ExtractNegativeCacheTtl(response) : TimeSpan.Zero;