MyProject.MyForms.m_FormBeingCreated.Add(typeof(T), null);
try
{
try
{
result = Activator.CreateInstance<T>();
return result;
}
object arg_96_0;
TargetInvocationException expr_9B = arg_96_0 as TargetInvocationException;
int arg_B8_0;
if (expr_9B == null)
{
arg_B8_0 = 0;
}
else
{
TargetInvocationException ex = expr_9B;
ProjectData.SetProjectError(expr_9B);
arg_B8_0 = (((ex.InnerException != null) > false) ? 1 : 0);
}
endfilter(arg_B8_0);
}
finally
{
MyProject.MyForms.m_FormBeingCreated.Remove(typeof(T));
}
}
result = Instance;
return result;
}
/// What have i done wrong?
Keep getting errors about: Expected catch or finally @object arg_96_0;
Operator '>' cannot be applied to operands of type 'bool' and 'bool' @ex.InnerException !=null)
The name 'endfilter' does not exist in the current context. @endfilter(arg_B8_0);