public void CanDuckChainNullableDirectlyWithNonNullNullable() { var instance = new GenericTestClass { MyTestStruct = new TestStruct() }; var proxy = instance.DuckCast <GenericProxyStruct>(); }
public void CanDuckChainNullableDirectly_WithNullNullable() { var instance = new GenericTestClass(); var proxy = instance.DuckCast <GenericProxyStruct>(); }