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

◆ SortErrors()

void System.Xml.Xsl.Xslt.Compiler.SortErrors ( )
inlineprivate

Definition at line 356 of file Compiler.cs.

357 {
358 CompilerErrorCollection compilerErrorColl = CompilerErrorColl;
359 if (compilerErrorColl.Count > 1)
360 {
361 CompilerError[] array = new CompilerError[compilerErrorColl.Count];
363 Array.Sort(array, new CompilerErrorComparer(_moduleOrder));
366 }
367 }
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
void AddRange(IEnumerable< KeyValuePair< TKey, TValue > > collection)
readonly Dictionary< string, int > _moduleOrder
Definition Compiler.cs:103
CompilerErrorCollection CompilerErrorColl
Definition Compiler.cs:71

References System.Xml.Xsl.Xslt.Compiler._moduleOrder, System.Collections.Generic.Dictionary< TKey, TValue >.AddRange(), System.array, System.Collections.Generic.Dictionary< TKey, TValue >.Clear(), System.Xml.Xsl.Xslt.Compiler.CompilerErrorColl, System.Collections.Generic.Dictionary< TKey, TValue >.CopyTo(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, and System.Array.Sort().

Referenced by System.Xml.Xsl.Xslt.Compiler.Compile().