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;
16 public struct Nullable<T>
21 public Nullable (T value)
24 this.has_value = true;
27 public bool HasValue {
28 get { return has_value; }
35 public T GetValueOrDefault ()
42 public T GetValueOrDefault (T def_value)