2 // This test declares a field variable called `UnmanagedType' of type
5 // The test is used to test the cast of 0 to UnmanagedType, as before
6 // that would have been resolved to a variable instead of a type.
8 using System
.Runtime
.InteropServices
;
11 static UnmanagedType UnmanagedType
;
15 UnmanagedType
= (UnmanagedType
) 0;
17 if (UnmanagedType
!= 0)