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

◆ GetSchemaAnnotation() [1/2]

static XmlSchemaAnnotation System.Runtime.Serialization.SchemaExporter.GetSchemaAnnotation ( params XmlNode[] nodes)
inlinestaticprivate

Definition at line 995 of file SchemaExporter.cs.

996 {
997 if (nodes == null || nodes.Length == 0)
998 {
999 return null;
1000 }
1001 bool flag = false;
1002 for (int i = 0; i < nodes.Length; i++)
1003 {
1004 if (nodes[i] != null)
1005 {
1006 flag = true;
1007 break;
1008 }
1009 }
1010 if (!flag)
1011 {
1012 return null;
1013 }
1018 return xmlSchemaAnnotation;
1019 }
void Add(TKey key, TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), and System.Runtime.Serialization.Dictionary.