public void CanCopyGenericProperties() { var c = new ClassWithGeneric(); var newC = c.ShallowCopy(); Assert.Equal(c.intVal, newC.intVal); }
public static ClassWithGeneric New() { var c = new ClassWithGeneric(); c.intVal = 34; return(c); }
public static ClassWithGeneric New() { var c = new ClassWithGeneric(); c.intVal = 34; return c; }