Base class for Event and Property descriptors
Inheritance: MetaDataElement
Beispiel #1
0
 internal override void Resolve(PEReader buff)
 {
     meth = (MethodDef)buff.GetElement(MDTable.Method,methIx);
     eventOrProp = (Feature)buff.GetCodedElement(CIx.HasSemantics,assocIx);
     eventOrProp.AddMethod(this);
 }
Beispiel #2
0
 /*-------------------- Constructors ---------------------------------*/
 internal MethodSemantics(MethodType mType, MethodDef method, Feature feature)
 {
     type = mType;
     meth = method;
     eventOrProp = feature;
     sortTable = true;
     tabIx = MDTable.MethodSemantics;
 }