mirror of https://github.com/icsharpcode/ILSpy.git
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.
22 lines
477 B
22 lines
477 B
using System; |
|
#if EXPECTED_OUTPUT |
|
using System.Runtime.CompilerServices; |
|
#endif |
|
namespace Issue3465 |
|
{ |
|
internal class Program |
|
{ |
|
private static Program programNull; |
|
|
|
private static Program GetProgram() |
|
{ |
|
return null; |
|
} |
|
|
|
private static bool Test3465() |
|
{ |
|
Program program = GetProgram(); |
|
return System.Runtime.CompilerServices.Unsafe.As<Program, UIntPtr>(ref program) > System.Runtime.CompilerServices.Unsafe.As<Program, UIntPtr>(ref programNull); |
|
} |
|
} |
|
} |