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

◆ StartsWithXml()

static bool System.Xml.ValidateNames.StartsWithXml ( string s)
inlinestaticpackage

Definition at line 233 of file ValidateNames.cs.

234 {
235 if (s.Length < 3)
236 {
237 return false;
238 }
239 if (s[0] != 'x' && s[0] != 'X')
240 {
241 return false;
242 }
243 if (s[1] != 'm' && s[1] != 'M')
244 {
245 return false;
246 }
247 if (s[2] != 'l' && s[2] != 'L')
248 {
249 return false;
250 }
251 return true;
252 }

References System.s.

Referenced by System.Xml.ValidateNames.ValidateNameInternal().