.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
433 B

// Issue1389.Program
using System;
namespace Issue1389
{
public class Program
{
private static object GetObject()
{
throw null;
}
private static void UnusedResultOfIsinst()
{
bool flag = GetObject() is TypeCode;
}
private static bool BoolResultOfIsinst()
{
return GetObject() is TypeCode;
}
private static object EnumResultOfIsinst(object A_0)
{
return (A_0 is TypeCode) ? A_0 : null;
}
}
}