コード例 #1
0
        public override void Parse(CLRMetaDataParser parser)
        {
            uint semantics = parser.ReadU16();
            Setter = ((semantics & 0x1) != 0);
            Getter = ((semantics & 0x2) != 0);
            Other = ((semantics & 0x4) != 0);
            AddOn = ((semantics & 0x8) != 0);
            RemoveOn = ((semantics & 0x10) != 0);
            Fire = ((semantics & 0x20) != 0);

            Method = (CLRMethodDefRow)parser.ReadTable(CLRMetaDataTables.TableIndex.MethodDef);
            Association = parser.ReadHasSemantics();
        }