_GetPInvokeMap() private method

private _GetPInvokeMap ( IntPtr scope, MetadataArgs &skipAddresses, int token, int &attributes, void importName, void importDll ) : void
scope System.IntPtr
skipAddresses MetadataArgs
token int
attributes int
importName void
importDll void
return void
Example #1
0
        public unsafe void GetPInvokeMap(int token, out PInvokeAttributes attributes, out string importName, out string importDll)
        {
            int   attributes1;
            void *pStringHeap1;
            void *pStringHeap2;

            MetadataImport._GetPInvokeMap(this.m_metadataImport2, token, out attributes1, &pStringHeap1, &pStringHeap2);
            importName = new Utf8String(pStringHeap1).ToString();
            importDll  = new Utf8String(pStringHeap2).ToString();
            attributes = (PInvokeAttributes)attributes1;
        }