NullHandle<T>
class NullHandle<T> : IHandle<T> where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
using System.Runtime.CompilerServices;
namespace Windows.Win32.Foundation
{
internal class NullHandle<[IsUnmanaged] T> : IHandle<T> where T : struct
{
[Nullable(new byte[] {
1,
0
})]
[field: Nullable(new byte[] {
1,
0
})]
public static NullHandle<T> Instance {
[return: Nullable(new byte[] {
1,
0
})]
get;
} = new NullHandle<T>();
public T Handle => default(T);
private NullHandle()
{
}
}
}