dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Mercury on Portable.NET (not successful)


From: James Michael DuPont
Subject: Re: [DotGNU]Mercury on Portable.NET (not successful)
Date: Fri, 28 Feb 2003 02:26:33 -0800 (PST)

--- James Michael DuPont <address@hidden> wrote:
> 
> --- Fergus Henderson <address@hidden> wrote:
> >     .custom
> > (['mscorlib']'System.Runtime.CompilerServices'.'AssemblyAttributes
> > GoHere') instance void
> > ['mscorlib']'System.Diagnostics'.'DebuggableAttribute'::.ctor(bool,
> > bool) = ( 01 00 01 01 00 00 )
> > 
> > You can probably just define AssemblyAttributes as an empty class
> > and DebuggableAttribute as an empty class (or maybe a 6-byte
> struct)
> > with the specified "void (bool, bool)" constructor.
> 
> That was one of the test cases i reported in my mail.
> Even if all the classes are defined, you get a bug.
> mike

Because my mail was obviously ignored, 
here are the bug numbers :

2675 ILASM .custom (*typecast*) instance void Class::.ctor (valuetype) 

https://savannah.gnu.org/bugs/?func=detailbug&bug_id=2675&group_id=353

2676 backslashing in ildasm -q not working  
https://savannah.gnu.org/bugs/?func=detailbug&bug_id=2676&group_id=353

2677 ilasm problems export public auto ansi class.method  
https://savannah.gnu.org/bugs/?func=detailbug&bug_id=2677&group_id=353

2678 ilasm segfaults  
https://savannah.gnu.org/bugs/?func=detailbug&bug_id=2678&group_id=353

-----------------------
Here is the text of the bug report
ILASM .custom (*typecast*) instance void Class::.ctor (valuetype)

This is the test case created from the microsofts ildasm,
Reported to the list :
http://www.dotgnu.info/pipermail/developers/2003-February/009977.html

Modified from this code here :
ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/dotgnu_test/mercury_dotnet_hello_ildasm/construct__cpp_code.dll.ild

[[
.namespace test
{
.class AssemblyAttributesGoHereSM {}
.class SecurityPermissionAttribute {}
.class SecurityAction {}
.custom (AssemblyAttributesGoHereSM ) instance void
SecurityPermissionAttribute::.ctor (valuetype ) = ( 01 00 08 00 00 00
01 00 54 02 10 53 6B 69 70 56 )
} // end of namespace mercury.construct__cpp_code


.namespace test
{
.class AssemblyAttributesGoHereSM {}
.class SecurityPermissionAttribute {}
.class SecurityAction {}
.custom (AssemblyAttributesGoHereSM ) instance void
SecurityPermissionAttribute::.ctor (valuetype ) = ( 01 00 08 00 00 00
01 00 54 02 10 53 6B 69 70 56 )
} // end of namespace mercury.construct__cpp_code

----------------------------------------------
error message is
----------------------------------------------
test1.cs:6: parse error, unexpected '('


This however works
.custom instance void SecurityPermissionAttribute::.ctor () = (00 00
00)

This does not work, the typecast :
// .custom (AssemblyAttributesGoHereSM ) instance void
SecurityPermissionAttribute::.ctor () = (00 00 00)

This does not work, the valuetype :
// .custom instance void SecurityPermissionAttribute::.ctor (valuetype)
= (00 00 00)


=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]