10 writes to _pos
System.Net.NameResolution (10)
System\Net\DnsMessageReader.cs (10)
64_pos = DnsMessageHeader.Size; 97_pos += nameWireLen; 106_pos += 2; 108_pos += 2; 128_pos += nameWireLen; 137_pos += 2; 139_pos += 2; 141_pos += 4; 143_pos += 2; 152_pos += rdLength;
13 references to _pos
System.Net.NameResolution (13)
System\Net\DnsMessageReader.cs (13)
88if (_pos >= _message.Length) 93if (!DnsEncodedName.TryParse(_message, _pos, out DnsEncodedName name, out int nameWireLen)) 100if (_pos + 4 > _message.Length) 105DnsRecordType type = (DnsRecordType)BinaryPrimitives.ReadUInt16BigEndian(_message[_pos..]); 107DnsRecordClass @class = (DnsRecordClass)BinaryPrimitives.ReadUInt16BigEndian(_message[_pos..]); 119if (_pos >= _message.Length) 124if (!DnsEncodedName.TryParse(_message, _pos, out DnsEncodedName name, out int nameWireLen)) 131if (_pos + 10 > _message.Length) 136DnsRecordType type = (DnsRecordType)BinaryPrimitives.ReadUInt16BigEndian(_message[_pos..]); 138DnsRecordClass @class = (DnsRecordClass)BinaryPrimitives.ReadUInt16BigEndian(_message[_pos..]); 140uint ttl = BinaryPrimitives.ReadUInt32BigEndian(_message[_pos..]); 142ushort rdLength = BinaryPrimitives.ReadUInt16BigEndian(_message[_pos..]); 145int dataOffset = _pos;