Reporter | Kirill Ponimash (Kirill.Ponimash) |
---|---|
Created | Jul 21, 2011 4:54:47 PM |
Updated | Mar 27, 2012 5:03:10 PM |
Priority | Critical |
Type | Bug |
Fix versions | 7.0 |
State | Open |
Assignee | Alexey Kuptsov (alexey.kuptsov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
Example:
void test()
{
IEnumerable<string> t = ...;
DoWork1(t);
int i = DoWork2(t);
}
After automatic parameter creation i see:
void test(object DoWork1, object DoWork1)
...
Instead this for example:
void test(Action<IEnumerable<string>> DoWork1, Func<IEnumerable<string>, int> DoWork2)
...
void test()
{
IEnumerable<string> t = ...;
DoWork1(t);
int i = DoWork2(t);
}
After automatic parameter creation i see:
void test(object DoWork1, object DoWork1)
...
Instead this for example:
void test(Action<IEnumerable<string>> DoWork1, Func<IEnumerable<string>, int> DoWork2)
...