4 // Martin Baulig (martin@ximian.com)
6 // (C) 2004 Novell, Inc.
9 using System.Reflection;
10 using System.Collections.Generic;
11 using System.Runtime.CompilerServices;
17 public struct Nullable<T>
22 public Nullable (T value)
25 this.has_value = true;
28 public bool HasValue {
29 get { return has_value; }
36 public T GetValueOrDefault ()
43 public T GetValueOrDefault (T def_value)