Project
ReSharper
Priority
Critical
Type
Bug
Fix versions
5.1
State
Can't Reproduce
Assignee
Olga Lobacheva
Subsystem
PSI
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Vladimir Reshetnikov
    2 years ago (02 Nov 2009 13:35)
  • Updated by   Olga Lobacheva
    18 months ago (14 Jul 2010 18:52)
  • Jira: RSRP-128328
    (history, comments)
 
RSRP-128328 error CS0121: The call is ambiguous between the following methods or properties: 'C.Foo<ulong>(long?, ulong, int)' and 'C.Foo<ulong>(long?, ulong, long)'
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
using System;
using System.Collections;

class C
{
	static void Main()
	{
		Foo<ulong>(x:1, y:1);
	}

	static void Foo<T>(long? x, T y, int z = 0)
	{
		Console.WriteLine(1);
	}

	static void Foo<T>(long? x, ulong y, long t = 1)
	{
		Console.WriteLine(2);
	}
}
Comments (1)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Olga Lobacheva
  Olga Lobacheva
10 Feb 2010 22:08
2 years ago
It seems to me it was fixed
Related Changes
Resolved Date
2 years ago (10 Feb 2010 22:08)
State
OpenCan't Reproduce