2 writes to NameOffset
System.Runtime.Serialization (2)
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
1124
elementNode.
NameOffset
= BufferReader.Offset;
System\Xml\XmlUTF8TextReader.cs (1)
707
elementNode.
NameOffset
= BufferReader.Offset;
10 references to NameOffset
System.Runtime.Serialization (10)
System\Runtime\Serialization\Json\XmlJsonReader.cs (8)
1139
elementNode.LocalName.SetValue(elementNode.
NameOffset
, actualOffset - elementNode.
NameOffset
);
1140
elementNode.NameLength = actualOffset - elementNode.
NameOffset
;
1141
elementNode.Namespace.Uri.SetValue(elementNode.
NameOffset
, 0);
1147
int currentCharacter = (int)BufferReader.GetByte(elementNode.
NameOffset
);
1154
for (int i = 0, offset = elementNode.
NameOffset
; i < elementNode.NameLength; i++, offset++)
1372
elementNode.Namespace.Uri.SetValue(elementNode.
NameOffset
, 0);
1590
attribute.Value.SetValue(ValueHandleType.UTF8, elementNode.
NameOffset
, elementNode.NameLength);
System\Xml\XmlUTF8TextReader.cs (2)
709
elementNode.NameLength = BufferReader.Offset - elementNode.
NameOffset
;
740
int nameOffset = elementNode.
NameOffset
;