mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* SerializationEntry.cs: Added internal constructor bits for SerializationInfoEnumerator. * SerializationInfo.cs: Completed. * SerializationInfoEnumerator.cs: Implemented. Piggybacking on Hashtable's GetEnumerator method. svn path=/trunk/mcs/; revision=2436
41 lines
625 B
C#
41 lines
625 B
C#
//
|
|
// System.Runtime.Serialization.SerializationEntry.cs
|
|
//
|
|
// Author: Duncan Mak ([email protected])
|
|
//
|
|
// (C) Ximian, Inc. http://www.ximian.com
|
|
//
|
|
|
|
namespace System.Runtime.Serialization
|
|
{
|
|
public struct SerializationEntry
|
|
{
|
|
string name;
|
|
Type objectType;
|
|
object value;
|
|
|
|
// Properties
|
|
public string Name
|
|
{
|
|
get { return name; }
|
|
}
|
|
|
|
public Type ObjectType
|
|
{
|
|
get { return objectType; }
|
|
}
|
|
|
|
public object Value
|
|
{
|
|
get { return value; }
|
|
}
|
|
|
|
internal SerializationEntry (string name, Type type, object value)
|
|
{
|
|
this.name = name;
|
|
this.objectType = type;
|
|
this.value = value;
|
|
}
|
|
}
|
|
}
|