private static bool RequiresFatSection(Collection <ExceptionHandler> handlers)
{
for (int i = 0; i < handlers.Count; i++)
{
ExceptionHandler item = handlers[i];
if (CodeWriter.IsFatRange(item.TryStart, item.TryEnd))
{
return(true);
}
if (CodeWriter.IsFatRange(item.HandlerStart, item.HandlerEnd))
{
return(true);
}
if (item.HandlerType == ExceptionHandlerType.Filter && CodeWriter.IsFatRange(item.FilterStart, item.HandlerStart))
{
return(true);
}
}
return(false);
}