private static SelectorMatch MatchPropertyEquals(IStyleable x, PerspexProperty property, object value) { if (!x.IsRegistered(property)) { return(SelectorMatch.False); } else { return(new SelectorMatch(x.GetObservable(property).Select(v => Equals(v, value)))); } }