| Priority |
Normal |
| Type | Bug |
| State | Fixed |
| Assignee | Eugene Pasynkov |
| Subsystem | No subsystem |
| Affected versions |
No affected versions
|
| Fixed in |
4.1
|
| Fixed in build | |
| Build |
816
|
| Fixed in build |
900
|
RSRP-71064 |
error CS0029: Cannot implicitly convert type 'void' to 'object' |
|
|
class P
{
static void Main()
{
Bar<int>();
}
static void Bar<T>()
{
if(Main() is T){} // error CS0029: Cannot implicitly convert type 'void' to 'object'
}
}