You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure.That(IsTConnectToOrEnumerableTConnectTo<TConnectFrom,TConnectTo>(),"TConnectFrom must be either TConnectTo or a type that implements IEnumerable<TConnectTo>.",nameof(TConnectFrom));
493
-
Ensure.That(IsTConnectToOrEnumerableTConnectTo<TStartWith,TConnectTo>(),"TStartWith must be either TConnectTo or a type that implements IEnumerable<TConnectTo>.",nameof(TStartWith));
492
+
Ensure.That(IsTConnectToEnumerableTConnectToOrViceVersa<TConnectFrom,TConnectTo>(),"TConnectFrom must be either TConnectTo or a type that implements IEnumerable<TConnectTo> unless TConnectTo is a type that implements IEnumerable<TConnectFrom>.",nameof(TConnectFrom));
493
+
Ensure.That(IsTConnectToEnumerableTConnectToOrViceVersa<TStartWith,TConnectTo>(),"TStartWith must be either TConnectTo or a type that implements IEnumerable<TConnectTo> unless TConnectTo is a type that implements IEnumerable<TConnectStart>.",nameof(TStartWith));
0 commit comments