Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/corlib/System/RuntimeFieldHandle.cs')
-rwxr-xr-xmcs/class/corlib/System/RuntimeFieldHandle.cs45
1 files changed, 0 insertions, 45 deletions
diff --git a/mcs/class/corlib/System/RuntimeFieldHandle.cs b/mcs/class/corlib/System/RuntimeFieldHandle.cs
deleted file mode 100755
index f4536856af9..00000000000
--- a/mcs/class/corlib/System/RuntimeFieldHandle.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// System.RuntimeFieldHandle.cs
-//
-// Author:
-// Miguel de Icaza (miguel@ximian.com)
-//
-// (C) Ximian, Inc. http://www.ximian.com
-//
-
-using System.Runtime.Serialization;
-using System.Globalization;
-
-namespace System {
-
- [MonoTODO]
- [Serializable]
- public struct RuntimeFieldHandle : ISerializable {
- IntPtr value;
-
- public IntPtr Value {
- get {
- return (IntPtr) value;
- }
- }
-
- RuntimeFieldHandle (SerializationInfo info, StreamingContext context)
- {
- Type t;
-
- if (info == null)
- throw new ArgumentNullException ("info");
-
- t = (Type) info.GetValue ("TypeObj", typeof (Type));
-
- value = t.TypeHandle.Value;
- if (value == (IntPtr) 0)
- throw new SerializationException (Locale.GetText ("Insufficient state"));
- }
-
- public void GetObjectData (SerializationInfo info, StreamingContext context)
- {
- info.AddValue ("TypeObj", value, value.GetType ());
- }
- }
-}