public static EarlyReleaseMethodHaver TestCase()
        {
            EarlyReleaseMethodHaver haver = new EarlyReleaseMethodHaver();

            try
            {
                Console.WriteLine(haver.Text);
                return(haver);
            }
            catch (Exception)
            {
                haver.ReleaseEarly();
                throw;
            }
        }
示例#2
0
        public static void TestCase()
        {
            EarlyReleaseMethodHaver haver = new EarlyReleaseMethodHaver();

            haver.ReleaseEarly();
        }