Esempio n. 1
0
        public override void Parse(CLRMetaDataParser parser)
        {
            Offset = parser.ReadU32();
            uint flags = parser.ReadU32();
            uint visibility = (flags & 0x7);

            if (visibility < 0x1 || visibility > 0x2)
                throw new ParseFailedException("Unexpected visibility on manifest resource");
            Visibility = (ManifestResourceVisibility)visibility;

            Name = parser.ReadString();
            Implementation = parser.ReadImplementation();
        }