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

MethodDesc.Canon.cs « Canon « TypeSystem « Common « tools « coreclr « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 00e0d6859ffd8fc57ef51bab267b4fa0d8ab6f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace Internal.TypeSystem
{
    // Implements method canonicalization
    public partial class MethodDesc
    {
        public virtual bool IsCanonicalMethod(CanonicalFormKind policy)
        {
            return false;
        }

        /// <summary>
        /// Returns the result of canonicalizing this method over the given kind of Canon
        /// </summary>
        public virtual MethodDesc GetCanonMethodTarget(CanonicalFormKind kind)
        {
            return this;
        }
    }
}