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

Key: RSRP-42683
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Dmitry Lomov
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

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

'Rename alias' breaks code

Created: 08 Jun 07 15:49   Updated: 08 Jun 07 17:07
Component/s: None
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

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

Build: 454


 Description  « Hide
using IB = IFace<int>;
interface IFace<T>
{
    void Foo();
}
class A : IFace<int>
{
    void IB.Foo()
    {
    }
}

Rename alias 'IB' to 'IC'.

using IC = IFace<int>;
interface IFace<T>
{
    void Foo();
}
class A : IFace<int>
{
    void IFace.Foo() // error CS0305: Using the generic type 'IFace<T>' requires '1' type arguments
    {
    }
}


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