Fix singlinkgen test.
authorSejong Oh <sejooh@microsoft.com>
Fri, 1 Apr 2016 23:09:00 +0000 (16:09 -0700)
committerSejong Oh <sejooh@microsoft.com>
Fri, 1 Apr 2016 23:09:00 +0000 (16:09 -0700)
commit030136228abccb8b6d4737f92358bec8a9a50c09
tree2b5c9402358b775629837bf2d0cfbd7a011e333f
parent531de762ff569f52049e35cb69032b9c3da22238
Fix singlinkgen test.

If the address of SingLink is stored at stack, GC.Collect() cannot collect
the object since the address variable is still alive at stack.
tests/src/GC/Scenarios/SingLinkList/singlinkgen.cs