Example #1
0
        private long WriteDic(SystemDic setup)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            IntPtr intPtr = Marshal.AllocHGlobal(MockIteratorMapping.FillError <ImporterReaderMapper>());

            try
            {
                int num = setup._0001(-1, ComparatorConsumer.serviceDic, intPtr);
                switch (num)
                {
                case -1072875802:
                    return(0L);

                default:
                    Marshal.ThrowExceptionForHR(num);
                    break;

                case 0:
                    break;
                }
                return((long)MockIteratorMapping.RunError <ImporterReaderMapper>(intPtr)._0001() * _SystemInstance._0004() / 10000000);
            }
            finally
            {
                ImporterReaderMapper.ViewError(intPtr);
                Marshal.FreeHGlobal(intPtr);
            }
        }