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

RSRP-329560: Rename refactoring doesn't work on a method taking a dynamic parameter

$
0
0
Reporter Igal Tabachnik (hmemcpy) Igal Tabachnik (hmemcpy)
Created Aug 29, 2012 4:17:55 PM
Updated Apr 20, 2018 6:53:36 PM
Resolved Apr 20, 2018 6:17:46 PM
Subsystem Refactorings - Inplace
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions 7.0.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
public static void Main()
{
dynamic value = new ExpandoObject();
DoSomethingWithValue(value); // <-- rename doesn't work here
}

private static void DoSomethingWithValue(dynamic value) // <-- rename works here, but doesn't rename the callsite, resulting in a compilation error
{
// do something with value
}

Renaming the actual method works, but doesn't update the caller!

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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