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

Key: RSRP-34558
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Dmitry Lomov
Reporter: Valentin Shtronda
Votes: 0
Watchers: 0
Operations

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

Resharper does not highlight an ambiguity, and vice versa - highlights the correct specification as redundant.

Created: 18 Jan 07 15:58   Updated: 20 Jun 07 11:00
Component/s: PSI - Resolve, Language - C#
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

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

Build: 326


 Description  « Hide
interface I1
{
}
interface I2
{
}
interface I<T>
{
}
class A
{
public static void Register<T>(I<T> obj)
{
}
}
class B : I<I1>, I<I2>
{
public void Main() { // Compiler gives error here because of ambiguity but Resharper doesn't. A.Register(this); // This compiles OK, but Resharper highlights <I1> as redundant A.Register<I1>(this); }

}



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