Esempio n. 1
0
 private void ComputeTryBlockStartAndEndInfo(Method method)
 {
     foreach (Handler handler in CodeProvider.GetTryBlocks(method))
     {
         if (CodeProvider.IsFilterHandler(handler))
         {
             AddTargetLabel(CodeProvider.FilterExpressionStart(handler));
         }
         AddTargetLabel(CodeProvider.HandlerStart(handler));
         AddTargetLabel(CodeProvider.HandlerEnd(handler));
         AddTryStart(handler);
         AddTryEnd(handler);
         AddHandlerEnd(handler);
         this.handler_starting_at.Add(CodeProvider.HandlerStart(handler), handler);
     }
 }