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

◆ HasPointers()

bool System.Xml.XmlDataDocument.HasPointers ( XmlNode node)
inlinepackage

Definition at line 722 of file XmlDataDocument.cs.

723 {
724 while (true)
725 {
726 try
727 {
728 if (_pointers.Count > 0)
729 {
730 object obj = null;
732 {
733 obj = pointer.Value;
734 if (((IXmlDataVirtualNode)obj).IsOnNode(node))
735 {
736 return true;
737 }
738 }
739 }
740 return false;
741 }
742 catch (Exception e) when (ADP.IsCatchableExceptionType(e))
743 {
744 }
745 }
746 }
static bool IsCatchableExceptionType(Exception e)
Definition ADP.cs:790

References System.Xml.XmlDataDocument._pointers, System.Collections.Hashtable.Count, System.Xml.Dictionary, System.Data.Common.ADP.IsCatchableExceptionType(), System.obj, and System.pointer.

Referenced by System.Xml.XmlDataDocument.FoliateIfDataPointers().