Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MissingMemberException.CoreRT.cs « System « src « System.Private.CoreLib « src - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f79f086b82e6c6c9e07e34fcc3b422d88caab1a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
        }
    }
}