Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Eugene Pasynkov 
Subsystem
Code Analysis 
Affected versions
Fixed in
Fixed in build
Next build 
Build
326
  • Submitted by   Vladimir Reshetnikov
    3 years ago (25 Dec 2006 11:41)
  • Updated by Vladimir Reshetnikov
    2 years ago (03 Jul 2007 16:36)
  • Jira: RSRP-33882
    (history, comments)

RSRP-33882

error CS0407: 'int Stuff.Foo()' has the wrong return type

0
using System;

public delegate void F();

public class Stuff
{
	private static void Main()
	{
		F f = new F((Foo)); // error CS0407: 'int Stuff.Foo()' has the wrong return type
	}

	private static int Foo()
	{
		throw new NotImplementedException();
	}
}


Issue was closed
Comments (0)
 
History (0)
 
Links
 
Issue has no comments