Beispiel #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);
 }
 public override void ClearCache()
 {
     _customAttributes = null;
     _declaringType    = null;
     _pinvokeimpl      = null;
 }
Beispiel #3
0
 public override void LoadCache()
 {
     _pinvokeimpl = PInvokeImplementation;
     _customAttributes = CustomAttributes;
     _declaringType = DeclaringType;
 }
 public override void LoadCache()
 {
     _pinvokeimpl      = PInvokeImplementation;
     _customAttributes = CustomAttributes;
     _declaringType    = DeclaringType;
 }
Beispiel #5
0
 public override void ClearCache()
 {
     _customAttributes = null;
     _declaringType = null;
     _pinvokeimpl = null;
 }