private object StringNotEqual(CallSite site, object self, string other) { if (self != null && self.GetType() == typeof(string) && other != null) { return(StringOps.NotEquals((string)self, other) ? ScriptingRuntimeHelpers.True : ScriptingRuntimeHelpers.False); } return(((CallSite <Func <CallSite, object, string, object> >)site).Update(site, self, other)); }
public static bool NotEquals(char x, [NotNull] string y) => StringOps.NotEquals(char.ToString(x), y);