Example #1
0
 private void UpdatePInvokeImpl(Workspace workspace, PInvokeImplementation pinvokeImpl)
 {
     pinvokeImpl.MetaDataRow.Parts[1] = GetMemberIndex(workspace, Constructor.OriginalAssembly.NETHeader.TablesHeap.MemberForwarded, pinvokeImpl.Member);
     pinvokeImpl.MetaDataRow.Parts[2] = GetStringIndex(workspace, pinvokeImpl.Entrypoint);
     pinvokeImpl.MetaDataRow.Parts[3] = GetMemberIndex(workspace, pinvokeImpl.ImportScope);
 }
Example #2
0
 public override void ClearCache()
 {
     _customAttributes = null;
     _declaringType    = null;
     _pinvokeimpl      = null;
 }
Example #3
0
 public override void LoadCache()
 {
     _pinvokeimpl = PInvokeImplementation;
     _customAttributes = CustomAttributes;
     _declaringType = DeclaringType;
 }
Example #4
0
 public override void LoadCache()
 {
     _pinvokeimpl      = PInvokeImplementation;
     _customAttributes = CustomAttributes;
     _declaringType    = DeclaringType;
 }
Example #5
0
 public override void ClearCache()
 {
     _customAttributes = null;
     _declaringType = null;
     _pinvokeimpl = null;
 }