diff options
author | Marek Safar <marek.safar@gmail.com> | 2018-09-19 15:19:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-19 15:19:22 +0300 |
commit | efd29b5cf854679349066e22ef9038b8cfe76d94 (patch) | |
tree | 2de750c1ac8a487d7f6d149592a6362ade6a5a77 /src/System.Private.CoreLib/src/System/MissingMemberException.CoreRT.cs | |
parent | f9124d69e41d42196510dd7234b2d53fed48ad4c (diff) | |
parent | 49f9ed0e66fc2d4cd682821396c6af5e80182048 (diff) |
Merge pull request #25 from ntherning/bump-corert
Bump to latest upstream
Diffstat (limited to 'src/System.Private.CoreLib/src/System/MissingMemberException.CoreRT.cs')
-rw-r--r-- | src/System.Private.CoreLib/src/System/MissingMemberException.CoreRT.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/System/MissingMemberException.CoreRT.cs b/src/System.Private.CoreLib/src/System/MissingMemberException.CoreRT.cs new file mode 100644 index 000000000..f79f086b8 --- /dev/null +++ b/src/System.Private.CoreLib/src/System/MissingMemberException.CoreRT.cs @@ -0,0 +1,20 @@ +// 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.Serialization; + +namespace System +{ + public partial class MissingMemberException : MemberAccessException + { + internal static string FormatSignature(byte[] signature) + { + // This is not the correct implementation, however, it's probably not worth the time to port given that + // (1) it's for a diagnostic + // (2) Signature is non-null when this exception is created from the native runtime. Which we don't do in .Net Native. + // (3) Only other time the signature is non-null is if this exception object is deserialized from a persisted blob from an older runtime. + return string.Empty; + } + } +}
\ No newline at end of file |