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

◆ Equals() [2/3]

bool System.Xml.StringHandle.Equals ( [NotNullWhen(true)] StringHandle other)
inline

Definition at line 219 of file StringHandle.cs.

220 {
221 if ((object)other == null)
222 {
223 return false;
224 }
225 return other._type switch
226 {
227 StringHandleType.Dictionary => Equals2(other._key, other._bufferReader),
228 StringHandleType.UTF8 => Equals2(other._offset, other._length, other._bufferReader),
229 _ => Equals2(other.GetString()),
230 };
231 }
bool Equals2(int key2, XmlBufferReader bufferReader2)

References System.Xml.StringHandle.Dictionary, System.Xml.StringHandle.Equals2(), and System.other.

Referenced by System.Xml.StringHandle.Equals().