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

MethodDelegator.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: e4e5211d08a9513651c0cd8984f4e80719e7cb52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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
{
    public partial class MethodDelegator
    {
        public override bool IsCanonicalMethod(CanonicalFormKind policy)
        {
            return _wrappedMethod.IsCanonicalMethod(policy);
        }

        // For this method, delegating to the wrapped MethodDesc would likely be the wrong thing.
        public abstract override MethodDesc GetCanonMethodTarget(CanonicalFormKind kind);
    }
}