terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetPrefixOfNamespace()

string System.Xml.Linq.ElementWriter.GetPrefixOfNamespace ( XNamespace ns,
bool allowDefaultNamespace )
inlineprivate

Definition at line 22 of file ElementWriter.cs.

23 {
24 string text;
25 if (ns._namespaceName._stringLength == 0)
26 {
27 return text;
28 }
29 if (text == null)
30 {
31 return text;
32 }
33 return "xml";
34 }

References System.Xml.Linq.XNamespace._namespaceName, and System.text.

Referenced by System.Xml.Linq.ElementWriter.WriteStartElement().