| Priority |
Critical |
| Type | Bug |
| State | Fixed |
| Assignee | Dmitry Lomov |
| Subsystem | No subsystem |
| Affected versions |
No affected versions
|
| Fixed in |
4.1
|
| Fixed in build | |
| Build |
810
|
| Fixed in build |
906
|
RSRP-70426 |
False error 'Type int must be a reference type...' |
|
|
using System;
class Program
{
delegate T F<T>() where T : class;
static void Main()
{
new Program().Foo(() => 1);
}
void Foo<T>(F<T> x) where T : class { }
}
static class A
{
public static void Foo<T>(this T x, Func<int> f) { }
}