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

◆ TryLookup() [3/3]

bool System.Xml.XmlBinaryReaderSession.TryLookup ( XmlDictionaryString value,
[NotNullWhen(true)] out XmlDictionaryString? result )
inline

Implements System.Xml.IXmlDictionary.

Definition at line 103 of file XmlBinaryReaderSession.cs.

104 {
105 if (value == null)
106 {
107 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("value"));
108 }
109 if (value.Dictionary != this)
110 {
111 result = null;
112 return false;
113 }
114 result = value;
115 return true;
116 }

References System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(), and System.value.