/// <summary> /// ArgumentException with message like "Expected event from {0}.{1}, got event from {2}.{3}." /// </summary> internal static Exception UnexpectedEvent(object p0, object p1, object p2, object p3) { return(new ArgumentException(Strings.UnexpectedEvent(p0, p1, p2, p3))); }