AmbiguousImplementationException.cs 958 B

123456789101112131415161718192021222324252627282930313233
  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.Globalization;
  5. using System.Runtime.Serialization;
  6. namespace System.Runtime
  7. {
  8. [Serializable]
  9. public sealed class AmbiguousImplementationException : Exception
  10. {
  11. public AmbiguousImplementationException()
  12. : base(SR.AmbiguousImplementationException_NullMessage)
  13. {
  14. }
  15. public AmbiguousImplementationException(string message)
  16. : base(message)
  17. {
  18. }
  19. public AmbiguousImplementationException(string message, Exception innerException)
  20. : base(message, innerException)
  21. {
  22. }
  23. private AmbiguousImplementationException(SerializationInfo info, StreamingContext context)
  24. : base(info, context)
  25. {
  26. }
  27. }
  28. }