bugDotGNU Portable.NET - Bugs: bug #2123, ILASM - pinvoke missing...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #2123: ILASM - pinvoke missing "preserve_sig" attribute

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Fri 03 Jan 2003 11:19:13 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri 03 Jan 2003 12:43:08 PM UTC, comment #1:

Another ildasm bug - it should have been dumping
"preservesig", not "preserve_sig". Fix applied
3 Dec 2002.

Rhys Weatherley <rweather>
Project Administrator
Fri 03 Jan 2003 11:19:13 AM UTC, original submission:

// declaration of GetDeviceCaps
int GetDeviceCaps(
HDC hdc, // handle to DC
int nIndex // index of capability
);
//
.module extern 'gdi32'
.class nested private auto ansi 'Test' extends ['mscorlib']'System'.'Object'
{
.method assembly static pinvokeimpl("gdi32" autochar lasterr winapi ) int32 'GetDeviceCaps'(native int 'hDC', int32 'nIndex') cil managed preserve_sig {}
}

See the mono patch here: (for c# not il i think)
http://lists.ximian.com/archives/public/mono-patches/2002-May/003195.html
they support :
"CallingConvention","CharSet","EntryPoint","SetLastError","ExactSpelling", "PreserveSig"

James Michael DuPont <mdupont>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 03 Jan 2003 12:43:08 PM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1