Exemplo n.º 1
0
        public void Run()
        {
            Thread.Sleep(500);

            Enumerable(new[] { "hi", "there", "!" });

            NotTracedNamespace.NotTraced.SomeMethod("Hello");

            ExceptionTests();

            PropertyTests();

            GenericMethodTests();
            GenericClassTests();

            StaticLogPropertyRewrites();
            StaticLogRewrites();

            OutParamLogs();

            var structParams = new StructParamClass();

            structParams.RunStructs();

            Write(Add(21, 22));
            Write(Add(100, 1));

            var perfComp = new PerfComp();

            perfComp.SpeedTest();
        }
Exemplo n.º 2
0
        public void Run()
        {
            SomethinElse(42);
            GenericClassTests();
            GenericMethod("Hello");
            GenericMethod(42);
            GenericMethod(new List <string>());
            return;

            int SomethinElse(int inp)
            {
                return(inp * 2);
            }

            Thread.Sleep(500);

            ErrDoSomethingAsync().Wait();

            Enumerable(new[] { "hi", "there", "!" });

            NotTracedNamespace.NotTraced.SomeMethod("Hello");

            ExceptionTests();

            AsyncTests();

            PropertyTests();

            GenericMethodTests();

            StaticLogPropertyRewrites();
            StaticLogRewrites();

            OutParamLogs();

            var structParams = new StructParamClass();

            structParams.RunStructs();

            Write(Add(21, 22));
            Write(Add(100, 1));

            var perfComp = new PerfComp();

            perfComp.SpeedTest();
        }
Exemplo n.º 3
0
        public void Run()
        {
            Thread.Sleep(500);

            ExceptionTests();

            GenericMethodTests();
            GenericClassTests();

            StaticLogRewrites();

            OutParamLogs();

            var structParams = new StructParamClass();

            structParams.RunStructs();

            Write(Add(21, 22));
            Write(Add(100, 1));

            var perfComp = new PerfComp();

            perfComp.SpeedTest();
        }