Inheritance: MetaDataMember
Beispiel #1
0
 public override void LoadCache()
 {
     base.LoadCache();
     _paramRange        = MemberRange.CreateRange <ParameterDefinition>(this, 5, NETHeader.TablesHeap.GetTable(MetaDataTableType.Param, false));
     _semantics         = Semantics;
     _body              = Body;
     _genericParameters = GenericParameters;
 }
Beispiel #2
0
 public override void ClearCache()
 {
     base.ClearCache();
     _paramRange                 = null;
     _semantics                  = null;
     _body                       = null;
     _genericParameters          = new GenericParameter[0];
     _hasLoadedGenericParameters = false;
 }
Beispiel #3
0
 public override void LoadCache()
 {
     base.LoadCache();
     _paramRange = MemberRange.CreateRange<ParameterDefinition>(this, 5, NETHeader.TablesHeap.GetTable(MetaDataTableType.Param, false));
     _semantics = Semantics;
     _body = Body;
     _genericParameters = GenericParameters;
 }
Beispiel #4
0
 private void UpdateMethodSemantics(Workspace workspace, MethodSemantics semantics)
 {
     semantics.MetaDataRow.Parts[1] = GetMemberIndex(workspace, semantics.Method);
     semantics.MetaDataRow.Parts[2] = GetMemberIndex(workspace, Constructor.OriginalAssembly.NETHeader.TablesHeap.HasSemantics, semantics.Association);
 }
Beispiel #5
0
 public override void ClearCache()
 {
     base.ClearCache();
     _paramRange = null;
     _semantics = null;
     _body = null;
     _genericParameters = new GenericParameter[0];
     _hasLoadedGenericParameters = false;
 }