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

◆ GetDefaultPrefix()

string System.Xml.DocumentSchemaValidator.GetDefaultPrefix ( string attributeNS)
inlineprivate

Definition at line 424 of file DocumentSchemaValidator.cs.

425 {
427 string text = null;
430 {
431 string text2 = _nameTable.Add(item.Value);
432 if ((object)text2 == attributeNS)
433 {
434 text = item.Key;
435 if (text.Length != 0)
436 {
437 return text;
438 }
439 }
440 }
441 return text;
442 }
string Add(char[] array, int offset, int length)
IDictionary< string, string > GetNamespacesInScope(XmlNamespaceScope scope)

References System.Xml.DocumentSchemaValidator._nameTable, System.Xml.XmlNameTable.Add(), System.Xml.IXmlNamespaceResolver.GetNamespacesInScope(), System.item, System.Xml.DocumentSchemaValidator.NamespaceResolver, and System.text.

Referenced by System.Xml.DocumentSchemaValidator.ValidateAttributes().