示例#1
0
 private static bool Scenario2()
 {
     StressTest S = new StressTest();
     TypedReference R = __makeref(S._m_internal);
     S = null;
     GC.Collect();
     return __refvalue(R, StressTest2).m_parent._m_internal == __refvalue(R, StressTest2);
 }
示例#2
0
        private static bool Scenario2()
        {
            StressTest     S = new StressTest();
            TypedReference R = __makeref(S._m_internal);

            S = null;
            GC.Collect();
            return(__refvalue(R, StressTest2).m_parent._m_internal == __refvalue(R, StressTest2));
        }