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

RSRP-335505: Optional param + params => change signature cannot proceed

$
0
0
Reporter Anton Lobov (Anton.Lobov) Anton Lobov (Anton.Lobov)
Created Nov 14, 2012 3:36:12 PM
Updated Apr 26, 2018 11:48:04 AM
Resolved Apr 26, 2018 11:48:04 AM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions 7.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
The following compiles fine, R# does not show any error, too:
        public static void Test(Action a, int i, string s = "ye", params string[] aa)
{
a();
Console.WriteLine(s);

foreach (var s1 in aa)
{
Console.WriteLine(s1);
}
}

But change signature dialog has another opinion on it.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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