OverloadResolutionPriorityAttribute
Specifies the priority of a member in overload resolution. When unspecified, the default priority is 0.
using System.Diagnostics.CodeAnalysis;
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
[ExcludeFromCodeCoverage]
internal sealed class OverloadResolutionPriorityAttribute : Attribute
{
public int Priority { get; }
public OverloadResolutionPriorityAttribute(int priority)
{
Priority = priority;
}
}
}