Inheritance: MetaDataMember
コード例 #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;
 }
コード例 #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;
 }
コード例 #3
0
ファイル: MetaDataWriter.cs プロジェクト: Rex-Hays/GNIDA
 private void UpdateEventMap(Workspace workspace, EventMap map)
 {
     map.MetaDataRow.Parts[0] = GetMemberIndex(workspace, map.Parent);
     // event list updated by MetaDataBuilder class
 }
コード例 #4
0
ファイル: TypeDefinition.cs プロジェクト: Rex-Hays/GNIDA
 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;
 }
コード例 #5
0
ファイル: TypeDefinition.cs プロジェクト: Rex-Hays/GNIDA
 public override void ClearCache()
 {
     base.ClearCache();
     _methodRange = null;
     _fieldRange = null;
     _propertyMap = null;
     _eventMap = null;
     _nestedClasses = null;
     _interfaces = null;
     _decltype = null;
     _genericparams = null;
     _baseType = null;
 }