namespace Microsoft.VisualStudio.Text.PatternMatching
{
public static class PatternMatchKindExtensions
{
///
/// Compares two values, suggesting which one is more likely to be what the user was searching for.
///
/// Item to be compared.
/// Item to be compared.
/// A negative value means kind1 is preferable, positive means kind2 is preferable. Zero means they are equivalent.
public static int CompareTo(this PatternMatchKind kind1, PatternMatchKind kind2)
{
return kind1 - kind2;
}
}
}