4 // Martin Baulig (martin@ximian.com)
6 // (C) 2004 Novell, Inc.
9 using System.Reflection;
11 using System.Collections.Generic;
13 using System.Runtime.CompilerServices;
19 public struct Nullable<T>
24 public Nullable (T value)
27 this.has_value = true;
30 public bool HasValue {
31 get { return has_value; }
38 public T GetValueOrDefault ()
45 public T GetValueOrDefault (T def_value)