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

◆ operator==()

static bool System.Xml.UniqueId.operator== ( UniqueId? id1,
UniqueId? id2 )
inlinestatic

Definition at line 357 of file UniqueId.cs.

358 {
359 if ((object)id1 == id2)
360 {
361 return true;
362 }
363 if ((object)id1 == null || (object)id2 == null)
364 {
365 return false;
366 }
367 if (id1.IsGuid && id2.IsGuid)
368 {
369 if (id1._idLow == id2._idLow)
370 {
371 return id1._idHigh == id2._idHigh;
372 }
373 return false;
374 }
375 return id1.ToString() == id2.ToString();
376 }

References System.Xml.Dictionary.