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

◆ EnsureNamespace()

static XNamespace System.Xml.Linq.XNamespace.EnsureNamespace ( ref WeakReference< XNamespace > refNmsp,
string namespaceName )
inlinestaticprivate

Definition at line 154 of file XNamespace.cs.

155 {
156 XNamespace target;
157 while (true)
158 {
160 if (weakReference != null && weakReference.TryGetTarget(out target))
161 {
162 break;
163 }
165 }
166 return target;
167 }
static int CompareExchange(ref int location1, int value, int comparand)
XNamespace(string namespaceName)
Definition XNamespace.cs:30

References System.Xml.Linq.XNamespace.XNamespace(), System.Threading.Interlocked.CompareExchange(), and System.Xml.Dictionary.