public void TestCast() { Func<int,int> f = a => { var c = new CCast { v = a }; object o = ForceObject(c); var c2 = (CCast)o; return c2.v; }; this.Test(f); }
public void TestCast() { Func <int, int> f = a => { var c = new CCast { v = a }; object o = ForceObject(c); var c2 = (CCast)o; return(c2.v); }; this.Test(f); }