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

Key: RSRP-41797
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

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

Coding in Reverse: inline variable should work for partially known types

Created: 30 May 07 22:23   Updated: 16 Jul 07 15:27
Component/s: Refactorings - Introduce Variable
Fix Version/s: Mirabilie Futurum
Security Level: Everybody (All jira users)

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

Build: 447


 Description  « Hide
using System.Collections.Generic;

class A
{
    static void Foo()
    {
        List<Bugaga> s = new List<Bugaga>(); // 'Bugaga' is unresolved symbol.
        s.ToArray()
    }
}

Try to select the last expression and introduce variable. It does not work. Should work.
Expected:

using System.Collections.Generic;

class A
{
    static void Foo()
    {
        List<Bugaga> s = new List<Bugaga>();
        Bugaga[] arr = s.ToArray();
    }
}


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