System.Empty
namespace System
{
[System.Serializable]
internal sealed class Empty : System.Object, System.Runtime.Serialization.ISerializable
{
public static readonly System.Empty Value;
private Empty()
: base()
{
// 代码大小 7 (0x7)
//.maxstack 8
//IL_0000: ldarg.0
//IL_0001: call instance void System.Object::.ctor()
//IL_0006: ret
}
public override string ToString()
{
// 代码大小 6 (0x6)
//.maxstack 8
//IL_0000: ldsfld string System.String::Empty
//IL_0005: ret
return System.String.Empty;
}
public new virtual sealed void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
// 代码大小 24 (0x18)
//.maxstack 8
//IL_0000: ldarg.1
//IL_0001: brtrue.s IL_000e
//IL_0003: ldstr "info"
//IL_0008: newobj instance void System.ArgumentNullException::.ctor(string)
//IL_000d: throw
//IL_000e: ldarg.1
//IL_000f: ldc.i4.1
//IL_0010: ldnull
//IL_0011: ldnull
//IL_0012: call void System.UnitySerializationHolder::GetUnitySerializationInfo(class System.Runtime.Serialization.SerializationInfo,
// int32,
// string,
// class System.Reflection.Assembly)
//IL_0017: ret
if (info != null)
{
System.UnitySerializationHolder.GetUnitySerializationInfo(info,1,null,null);
}
else
{
throw new System.ArgumentNullException("info");
}
}
private static Empty()
{
// 代码大小 11 (0xb)
//.maxstack 8
//IL_0000: newobj instance void System.Empty::.ctor()
//IL_0005: stsfld class System.Empty System.Empty::Value
//IL_000a: ret
Empty.Value = new Empty();
}
}
}