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

◆ CalculateNumberOfExceptions()

static int System.Reflection.Emit.DynamicResolver.CalculateNumberOfExceptions ( __ExceptionInfo[] excp)
inlinestaticprivate

Definition at line 106 of file DynamicResolver.cs.

107 {
108 int num = 0;
109 if (excp == null)
110 {
111 return 0;
112 }
113 for (int i = 0; i < excp.Length; i++)
114 {
115 num += excp[i].GetNumberOfCatches();
116 }
117 return num;
118 }

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

Referenced by System.Reflection.Emit.DynamicResolver.GetCodeInfo().