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

◆ AddCatchRegion()

void System.Reflection.Metadata.Ecma335.ControlFlowBuilder.AddCatchRegion ( LabelHandle tryStart,
LabelHandle tryEnd,
LabelHandle handlerStart,
LabelHandle handlerEnd,
EntityHandle catchType )
inline

Definition at line 147 of file ControlFlowBuilder.cs.

148 {
149 if (!ExceptionRegionEncoder.IsValidCatchTypeHandle(catchType))
150 {
151 Throw.InvalidArgument_Handle("catchType");
152 }
154 }
void AddExceptionRegion(ExceptionRegionKind kind, LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, LabelHandle filterStart=default(LabelHandle), EntityHandle catchType=default(EntityHandle))

References System.Reflection.Metadata.Ecma335.ControlFlowBuilder.AddExceptionRegion(), System.Reflection.Throw.InvalidArgument_Handle(), and System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder.IsValidCatchTypeHandle().