GetGenerationWR() 개인적인 메소드

private GetGenerationWR ( IntPtr handle ) : int
handle IntPtr
리턴 int
예제 #1
0
파일: gc.cs 프로젝트: wwkkww1983/ZJCredit
        public static int GetGeneration(WeakReference wo)
        {
            int generationWr = GC.GetGenerationWR(wo.m_handle);

            GC.KeepAlive((object)wo);
            return(generationWr);
        }