Exemple #1
0
        private unsafe int StackMap(int value)
        {
            var sc    = new SomeClass();
            int total = 0;

            total += sc.DoSomeStuff(value);
            for (int i = 0; i < value; ++i)
            {
                var ss = new SomeStruct();
                ss.F1  = value;
                total += (int)Math.Sin(ss.DoMagic());
            }
            return(total);
        }