public void NonPublicStructVirtualProxyTest() { PrivateStruct instance = default; VirtualPrivateProxy proxy = instance.As <VirtualPrivateProxy>(); Assert.Equal(instance.Value, proxy.Value); }
public void NonPublicStructInterfaceProxyTest() { PrivateStruct instance = default; IPrivateStruct proxy = instance.As <IPrivateStruct>(); Assert.Equal(instance.Value, proxy.Value); }
public void NonPublicStructAbstractProxyTest() { PrivateStruct instance = default; AbstractPrivateProxy proxy = instance.As <AbstractPrivateProxy>(); Assert.Equal(instance.Value, proxy.Value); }
public void NonPublicStructCopyTest() { PrivateStruct instance = default; CopyStruct copy = instance.As <CopyStruct>(); Assert.Equal(instance.Value, copy.Value); }