Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-287684: Rename refactoring should escape contextual keywords after query expressions

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Jan 10, 2012 10:37:01 PM
Updated Jan 10, 2012 10:37:01 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Imports System.Linq
 
Module Program
    Sub Main()
        Dim x = From y In ""
        Foo()
    End Sub
 
    Sub Foo() ' Rename Foo to Take
    End Sub
End Module


Actual:

Imports System.Linq
 
Module Program
    Sub Main()
        Dim x = From y In ""
        Take() ' error BC30201: Expression expected.
    End Sub
 
    Sub Take()
    End Sub
End Module


Expected:

Imports System.Linq
 
Module Program
    Sub Main()
        Dim x = From y In ""
        [Take]() ' OK
    End Sub
 
    Sub Take()
    End Sub
End Module

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>