You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
42
external/referencesource/mscorlib/system/reflection/missing.cs
vendored
Normal file
42
external/referencesource/mscorlib/system/reflection/missing.cs
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
// ==++==
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// ==--==
|
||||
// <OWNER>[....]</OWNER>
|
||||
//
|
||||
|
||||
namespace System.Reflection
|
||||
{
|
||||
using System;
|
||||
using System.Runtime.Remoting;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Security.Permissions;
|
||||
using System.Diagnostics.Contracts;
|
||||
|
||||
// This is not serializable because it is a reflection command.
|
||||
[Serializable]
|
||||
[System.Runtime.InteropServices.ComVisible(true)]
|
||||
public sealed class Missing: ISerializable
|
||||
{
|
||||
public static readonly Missing Value = new Missing();
|
||||
|
||||
#region Constructor
|
||||
private Missing() { }
|
||||
#endregion
|
||||
|
||||
#if FEATURE_SERIALIZATION
|
||||
#region ISerializable
|
||||
[System.Security.SecurityCritical] // auto-generated_required
|
||||
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
if (info == null)
|
||||
throw new ArgumentNullException("info");
|
||||
Contract.EndContractBlock();
|
||||
|
||||
UnitySerializationHolder.GetUnitySerializationInfo(info, this);
|
||||
}
|
||||
#endregion
|
||||
#endif
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user