public void DifferentValueTypesAreNotBindable() { Assert.That(IdentityValueBinding.TryBind(typeof(int), typeof(long)), Is.Null); }
public void DifferentReferenceTypesAreNotBindable() { Assert.That(IdentityValueBinding.TryBind(typeof(object), typeof(Array)), Is.Null); }
protected override DuckValueBindingOption TryBind(Type fromType, Type toType) { return(IdentityValueBinding.TryBind(fromType, toType)); }