Esempio n. 1
0
 public MethodImplementation(TypeDefinition @class, MethodReference methodDeclaration, MethodReference newMethod)
     : base(new MetaDataRow(@class.TableIndex, 0U, newMethod.TableIndex))
 {
     this._class = @class;
     this._methodDeclaration = methodDeclaration;
     this._methodBody = newMethod;
 }
Esempio n. 2
0
 public override void ClearCache()
 {
     _propertyRange = null;
     _parent = null;
 }
Esempio n. 3
0
 public PropertyMap(TypeDefinition parentType, uint startingIndex)
     : base(new MetaDataRow(parentType.TableIndex, startingIndex))
 {
 }
Esempio n. 4
0
 public override void LoadCache()
 {
     _class = Class;
     _interface = Interface;
 }
Esempio n. 5
0
 public override void ClearCache()
 {
     _class = null;
     _interface = null;
 }
Esempio n. 6
0
 public InterfaceImplementation(TypeDefinition @class, TypeReference @interface)
     : base(new MetaDataRow(@class.TableIndex, 0U))
 {
     this._class = @class;
     this._interface = @interface;
 }
Esempio n. 7
0
 public override void ClearCache()
 {
     _eventRange = null;
     _parent = null;
 }
Esempio n. 8
0
 public override void ClearCache()
 {
     this._parent = null;
 }
Esempio n. 9
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;
 }
Esempio n. 10
0
 public override void LoadCache()
 {
     _class = Class;
     _enclosingClass = EnclosingClass;
 }
Esempio n. 11
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;
 }
Esempio n. 12
0
 public override void ClearCache()
 {
     _class = null;
     _enclosingClass = null;
 }
Esempio n. 13
0
 public NestedClass(TypeDefinition nestedClass, TypeDefinition enclosingClass)
     : base(new MetaDataRow(nestedClass.TableIndex, enclosingClass.TableIndex))
 {
     this._class = nestedClass;
     this._enclosingClass = enclosingClass;
 }
Esempio n. 14
0
 public override void LoadCache()
 {
     _eventRange = MemberRange.CreateRange<EventDefinition>(this, 1, _netheader.TablesHeap.GetTable(MetaDataTableType.Event, false));
     _eventRange.LoadCache();
     _parent = Parent;
 }
Esempio n. 15
0
 public override void LoadCache()
 {
     _propertyRange = MemberRange.CreateRange<PropertyDefinition>(this, 1, NETHeader.TablesHeap.GetTable(MetaDataTableType.Property, false));
     _propertyRange.LoadCache();
     _parent = Parent;
 }
Esempio n. 16
0
 public override void ClearCache()
 {
     _class = null;
     _methodBody = null;
     _methodDeclaration = null;
 }
Esempio n. 17
0
 public ClassLayout(TypeDefinition parent, uint classSize, ushort packingSize)
     : base(new MetaDataRow(packingSize, classSize, parent.TableIndex))
 {
     this._parent = parent;
 }
Esempio n. 18
0
 public override void LoadCache()
 {
     _class = Class;
     _methodBody = MethodBody;
     _methodDeclaration = MethodDeclaration;
 }
Esempio n. 19
0
 public override void LoadCache()
 {
     this._parent = Parent;
 }
Esempio n. 20
0
 public EventMap(TypeDefinition parent, uint startingIndex)
     : base(new MetaDataRow(parent.TableIndex, startingIndex))
 {
     this._parent = parent;
 }