Esempio n. 1
0
        public void manglingTest5()
        {
            using (dynamic l = new ConariX(gCfgUnlib))
            {
                l.Mangling = true;

                Assert.Equal(7, l.get_SevenFastCall <ushort>());
                Assert.Equal(7, l.bind <Func <ushort> >("get_SevenFastCall")());
                Assert.Equal((ushort)7, l.bind(Dynamic.GetMethodInfo(typeof(ushort)), "get_SevenFastCall")
                             .dynamic
                             .Invoke(null, Array.Empty <object>()));
            }
        }