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

◆ CalculateNumberOfExceptions()

static int System.Reflection.Emit.MethodBuilder.CalculateNumberOfExceptions ( __ExceptionInfo[] excp)
inlinestaticpackage

Definition at line 366 of file MethodBuilder.cs.

367 {
368 int num = 0;
369 if (excp == null)
370 {
371 return 0;
372 }
373 for (int i = 0; i < excp.Length; i++)
374 {
375 num += excp[i].GetNumberOfCatches();
376 }
377 return num;
378 }

References System.Reflection.Emit.__ExceptionInfo.GetNumberOfCatches().

Referenced by System.Reflection.Emit.MethodBuilder.CreateMethodBodyHelper().