3 references to TryReadRecords
Microsoft.Extensions.ServiceDiscovery.Dns (3)
Resolver\DnsResolver.cs (3)
559if (!TryReadRecords(header.AnswerCount, ref ttl, ref responseReader, out List<DnsResourceRecord>? answers) || 560!TryReadRecords(header.AuthorityCount, ref ttl, ref responseReader, out List<DnsResourceRecord>? authorities) || 561!TryReadRecords(header.AdditionalRecordCount, ref ttl, ref responseReader, out List<DnsResourceRecord>? additionals))