Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsXmlns

bool System.Xml.StringHandle.IsXmlns
get

Definition at line 39 of file StringHandle.cs.

40 {
41 get
42 {
43 if (_type == StringHandleType.UTF8)
44 {
45 if (_length != 5)
46 {
47 return false;
48 }
50 int offset = _offset;
51 if (buffer[offset] == 120 && buffer[offset + 1] == 109 && buffer[offset + 2] == 108 && buffer[offset + 3] == 110)
52 {
53 return buffer[offset + 4] == 115;
54 }
55 return false;
56 }
57 return Equals2("xmlns");
58 }
59 }
StringHandleType _type
readonly XmlBufferReader _bufferReader
bool Equals2(int key2, XmlBufferReader bufferReader2)

Referenced by System.Xml.XmlUTF8TextReader.ReadAttributes().