using System;
unsafe struct A
{
publicstatic void * operator &(bool x, A y)
{
thrownew NotImplementedException();
}
static void Foo(object x, A y)
{
void * p = x is int ? & y;
void * q = x is int ? & y : null;
}
}
Description
Consider the following code:
using System;
unsafe struct A
{
publicstatic void * operator &(bool x, A y)
{
thrownew NotImplementedException();
}
static void Foo(object x, A y)
{
void * p = x is int ? & y;
void * q = x is int ? & y : null;
}
}