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();
        }