File: parent\parent\Common\TypeSystem\Canon\MethodDesc.Canon.cs
Web Access
Project: ILCompiler.TypeSystem.csproj (ILCompiler.TypeSystem)
// 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;
        }
    }
}