Inheritance: MetaDataMember
Beispiel #1
0
 public override void ClearCache()
 {
     base.ClearCache();
     _methodRange   = null;
     _fieldRange    = null;
     _propertyMap   = null;
     _eventMap      = null;
     _nestedClasses = null;
     _interfaces    = null;
     _decltype      = null;
     _genericparams = null;
     _baseType      = null;
 }
Beispiel #2
0
 public override void LoadCache()
 {
     base.LoadCache();
     _methodRange = MemberRange.CreateRange <MethodDefinition>(this, 5, NETHeader.TablesHeap.GetTable(MetaDataTableType.Method, false));
     _methodRange.LoadCache();
     _fieldRange = MemberRange.CreateRange <FieldDefinition>(this, 4, NETHeader.TablesHeap.GetTable(MetaDataTableType.Field, false));
     _fieldRange.LoadCache();
     _propertyMap   = PropertyMap;
     _eventMap      = EventMap;
     _nestedClasses = NestedClasses;
     _interfaces    = Interfaces;
     _decltype      = DeclaringType as TypeDefinition;
     _genericparams = GenericParameters;
     _baseType      = BaseType;
 }
Beispiel #3
0
 private void UpdateEventMap(Workspace workspace, EventMap map)
 {
     map.MetaDataRow.Parts[0] = GetMemberIndex(workspace, map.Parent);
     // event list updated by MetaDataBuilder class
 }
Beispiel #4
0
 public override void LoadCache()
 {
     base.LoadCache();
     _methodRange = MemberRange.CreateRange<MethodDefinition>(this, 5, NETHeader.TablesHeap.GetTable(MetaDataTableType.Method, false));
     _methodRange.LoadCache();
     _fieldRange = MemberRange.CreateRange<FieldDefinition>(this, 4, NETHeader.TablesHeap.GetTable(MetaDataTableType.Field, false));
     _fieldRange.LoadCache();
     _propertyMap = PropertyMap;
     _eventMap = EventMap;
     _nestedClasses = NestedClasses;
     _interfaces = Interfaces;
     _decltype = DeclaringType as TypeDefinition;
     _genericparams = GenericParameters;
     _baseType = BaseType;
 }
Beispiel #5
0
 public override void ClearCache()
 {
     base.ClearCache();
     _methodRange = null;
     _fieldRange = null;
     _propertyMap = null;
     _eventMap = null;
     _nestedClasses = null;
     _interfaces = null;
     _decltype = null;
     _genericparams = null;
     _baseType = null;
 }