Exemplo n.º 1
0
        public void Mod_Ref()
        {
            string doubledUp = "System.ValueType& modopt(System.Runtime.CompilerServices.IsBoxed)";
            string result    = MemberFormatter.RemoveMod(doubledUp);

            Assert.AreEqual("System.ValueType&", result);
        }
Exemplo n.º 2
0
        public void DoubleMod_Pointer()
        {
            string doubledUp = "System.ValueType modreq(System.DateTime) modopt(System.Runtime.CompilerServices.IsBoxed)*";
            string result    = MemberFormatter.RemoveMod(doubledUp);

            Assert.AreEqual("System.ValueType*", result);
        }