diff options
author | Markus Kitsinger <root@swooshalicio.us> | 2019-01-30 07:57:23 +0300 |
---|---|---|
committer | Thays Grazia <thaystg@gmail.com> | 2019-04-18 18:00:55 +0300 |
commit | a851190e05af9b6ded646c1eec65c0b5cc118910 (patch) | |
tree | 3d9342b726f11ddd3a46557321e42da74fe7cc0a | |
parent | a1177c17f75c0aeed2d3613897dddbe65d5829dd (diff) |
Cherry pick c4ad39544d999590698ce44beab8aa0d7aa79612
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs b/src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs new file mode 100644 index 000000000..a9d0eeb63 --- /dev/null +++ b/src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Runtime; +using System.Globalization; + +namespace System.Runtime.Serialization +{ + [Serializable] + public sealed class AmbiguousImplementationException : Exception + { + public AmbiguousImplementationException() + : base(SR.AmbiguousImplementationException_NullMessage) + { + } + + public AmbiguousImplementationException(string message) + : base(message) + { + } + + public AmbiguousImplementationException(string message, Exception innerException) + : base(message, innerException) + { + } + + private AmbiguousImplementationException(SerializationInfo info, StreamingContext context) + : base(info, context) + { + } + } +} |