Missing.cs 593 B

1234567891011121314151617181920
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. using System.Runtime.Serialization;
  5. namespace System.Reflection
  6. {
  7. public sealed class Missing : ISerializable
  8. {
  9. public static readonly Missing Value = new Missing();
  10. private Missing() { }
  11. void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
  12. {
  13. throw new PlatformNotSupportedException();
  14. }
  15. }
  16. }