[351] Generate Argument Stubs

With the insertion point where the | is in the code below:

delegate bool Proc();
public void Foo()
{
Dictionary<Guid, Proc> dictionary = new Dictionary<Guid, Proc>();
dictionary.TryGetValue(|)
}

Using the 'Generate Argument Stubs' gives the following:

public void Foo()
{
Dictionary<Guid, Proc> dictionary = new Dictionary<Guid, Proc>();
TValue value;
dictionary.TryGetValue(null, out value)
}

Note that the variable 'value' should be of type Proc. The same behaviour
is seen when the dictionary is changed to a Dictionary<Guid, Guid>. Anyone
else seeing this?

Cheers

Sean


1 comment
Comment actions Permalink

Hello,

We appreciate your feedback.

The corresponding JIRA request has been created, and you are welcome to monitor
its status at http://www.jetbrains.net/jira/browse/RSRP-36109.

Best regards,
- Development Team.


0

Please sign in to leave a comment.