This project is read-only.
1

Resolved

Rename overcounts conflicts from nested type inference

description

Source:
static void M(string a) { }
static void N<T>(T a, char c = 'c') where T : class { }

static void Infer<T>(Action<T> a, T p) { a(p); }
static void Infer<T>(Action<string> a, T p) { }

Infer(a => M(a), new { });
Rename N to M.

It will show "1 reference in 1 file. 2 unresolvable conflicts".
Even though there is only one conflict.

file attachments

comments

dustincampbell wrote Jul 22, 2014 at 4:28 PM

This no longer repros in recent builds. The count is now correct. See the attached screenshot.