Project
ReSharper
Priority
Normal
Type
Bug
Fix versions
5.1.1
State
Fixed
Assignee
Olga Lobacheva
Subsystem
Psi
Affected versions
No Affected versions
Fixed in build
5.1.1740.1  
  • Created by   Vladimir Reshetnikov
    2 years ago (12 Dec 2009 01:12)
  • Updated by   Kirill Falk
    20 months ago (31 Aug 2010 14:33)
  • Jira: RSRP-142256
    (history, comments)
 
RSRP-142256 error CS0019: Operator '==' cannot be applied to operands of type 'D' and 'System.Action'
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
using System;
using System.Collections;
using System.Collections.Generic;

class D
{
	static void Main()
	{
		Console.WriteLine(new D() == (Action)null); // error CS0019: Operator '==' cannot be applied to operands of type 'D' and 'System.Action'
	}

	public static implicit operator D(Action x)
	{
		return null;
	}
}
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (1)
 
Issue has no comments