/* * The [VersionRange] class handles special rules for comparing * against versions with pre-release identifiers, so these * implementations need not be concerned with it. */ private static bool OpEqual(SemanticVersion arg, SemanticVersion comparator) { // We don't care about metadata when we're comparing with // version ranges, so we use [EquivalentTo] so that those // items are ignored. return(arg.EquivalentTo(comparator)); }
private static bool OpEqual(SemanticVersion arg, SemanticVersion comparator) { // We don't care about metadata when we're comparing with // version ranges, so we use [EquivalentTo] so that those // items are ignored. return arg.EquivalentTo(comparator); }