//
public class Three
{
public Three()
{
try
{
}
catch(Exception e)
{
T1(delegate(object sender, EventArgs e) { });
}
}
public void T1(EventHandler handler) {}
}
The delegate in T1 was generated thru CompleteCodeSmart.
The e of EventArgs has a conflict with that of Exception.
Another name should be suggested for the delegate argument in such a case.
Description
//
public class Three
{
public Three()
{
try
{
}
catch(Exception e)
{
T1(delegate(object sender, EventArgs e) { });
}
}
public void T1(EventHandler handler) {}
}
The delegate in T1 was generated thru CompleteCodeSmart.
The e of EventArgs has a conflict with that of Exception.
Another name should be suggested for the delegate argument in such a case.