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

◆ SortExceptions()

static void System.Reflection.Emit.ILGenerator.SortExceptions ( __ExceptionInfo[] exceptions)
inlinestaticprivate

Definition at line 255 of file ILGenerator.cs.

256 {
257 for (int i = 0; i < exceptions.Length; i++)
258 {
259 int num = i;
260 for (int j = i + 1; j < exceptions.Length; j++)
261 {
262 if (exceptions[num].IsInner(exceptions[j]))
263 {
264 num = j;
265 }
266 }
267 __ExceptionInfo _ExceptionInfo = exceptions[i];
268 exceptions[i] = exceptions[num];
269 exceptions[num] = _ExceptionInfo;
270 }
271 }

References System.exceptions.

Referenced by System.Reflection.Emit.ILGenerator.GetExceptions().