Reporter | Philip Lee (philip_lee) |
---|---|
Created | Feb 13, 2012 6:57:52 PM |
Updated | Feb 13, 2012 6:57:52 PM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | 6.1.1 |
Fixed in build | No Fixed in build |
If I do a find usages on 'Extensions' I get 'usages of Extensions was not found'.
If I do the find usages on 'DoSomething' R# finds the usage.
...
private void UseExtensionMethod()
{
Debug.WriteLine(DateTime.Now.DoSomething());
}
}
internal static class Extensions
{
public static string DoSomething(this DateTime value)
{
;
}
}
If I do the find usages on 'DoSomething' R# finds the usage.
...
private void UseExtensionMethod()
{
Debug.WriteLine(DateTime.Now.DoSomething());
}
}
internal static class Extensions
{
public static string DoSomething(this DateTime value)
{
return value.ToString(CultureInfo.InvariantCulture)
}
}