History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-33042
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Oleg Stepanov
Reporter: Serge Baltic
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

"Create New Anonimous Delegate" Completion Item: Autogenerated Argument Names Conflict with Outer Symbols

Created: 06 Dec 06 15:35   Updated: 09 Jun 08 22:27
Component/s: Code Completion
Fix Version/s: 4.0.1
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
//
    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.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.