2 writes to NameOffset
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
1044
elementNode.
NameOffset
= BufferReader.Offset;
System\Xml\XmlUTF8TextReader.cs (1)
945
elementNode.
NameOffset
= BufferReader.Offset;
10 references to NameOffset
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\Json\XmlJsonReader.cs (8)
1059
elementNode.LocalName.SetValue(elementNode.
NameOffset
, actualOffset - elementNode.
NameOffset
);
1060
elementNode.NameLength = actualOffset - elementNode.
NameOffset
;
1061
elementNode.Namespace.Uri.SetValue(elementNode.
NameOffset
, 0);
1067
int currentCharacter = (int)BufferReader.GetByte(elementNode.
NameOffset
);
1074
for (int i = 0, offset = elementNode.
NameOffset
; i < elementNode.NameLength; i++, offset++)
1292
elementNode.Namespace.Uri.SetValue(elementNode.
NameOffset
, 0);
1510
attribute.Value.SetValue(ValueHandleType.UTF8, elementNode.
NameOffset
, elementNode.NameLength);
System\Xml\XmlUTF8TextReader.cs (2)
947
elementNode.NameLength = BufferReader.Offset - elementNode.
NameOffset
;
978
int nameOffset = elementNode.
NameOffset
;