From savannah-root@gnu.org Thu Apr 01 19:48:41 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 15103 invoked from network); 1 Apr 2004 19:48:41 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 1 Apr 2004 19:48:41 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1B98qn-00040O-HB
	for pnet-developers@dotgnu.org; Thu, 01 Apr 2004 15:31:45 -0500
From: "Ilyak" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8415
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.4.1) Gecko/20031209
X-Apparently-From: 195.239.69.146
X-Copy-To: Array
Message-Id: <E1B98qn-00040O-HB@savannah.gnu.org>
Date: Thu, 01 Apr 2004 15:31:45 -0500
Subject: [Pnet-developers] [bugs #8415] Xml parser fails to parse gnome# apis file
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #8415] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8415>
Project: DotGNU Portable.NET
Submitted by: Ilyak
On: Thu 04/01/04 at 20:31

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Xml parser fails to parse gnome# apis file

Original Submission:  Look at attached test case. it eats up all memory and dies.

I can't port gnome# until this get resolved.





File Attachments
-------------------

-------------------------------------------------------
Date: Thu 04/01/04 at 20:31  Name: xmlbug.tar.gz  Size: 7KB   By: Ilyak
This is test case!
http://savannah.gnu.org/bugs/download.php?item_id=8415&amp;item_file_id=1147






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8415>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From sanket@tsucorp.net Sun Apr 04 00:54:54 2004
Return-Path: <sanket@tsucorp.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 12961 invoked from network); 4 Apr 2004 00:54:53 -0000
Received: from unknown (HELO gannet.scg.man.ac.uk) (130.88.94.110)
  by 0 with SMTP; 4 Apr 2004 00:54:53 -0000
Received: from rm4.ladybarn.man.ac.uk ([130.88.243.23] helo=pokhran)
	by gannet.scg.man.ac.uk with smtp (Exim 4.20)
	id 1B9wZs-000ETa-Lb
	for pnet-developers@dotgnu.org; Sun, 04 Apr 2004 02:37:36 +0100
Message-ID: <000a01c419e5$65c6d070$17f35882@pokhran>
From: "Sanket Gupta" <sanket@tsucorp.net>
To: <pnet-developers@dotgnu.org>
Date: Sun, 4 Apr 2004 02:37:31 +0100
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0007_01C419ED.C78210B0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *1B9wZs-000ETa-Lb*Kg2ajLlQcPY*
Subject: [Pnet-developers] could not locate the assembly System.Web/1.0.3300.0
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C419ED.C78210B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I recently came to know about dotgnu and was very excited to see this =
implementation.
I downloaded the installer for windows so that i could try this thing =
out.
the samples run pretty well but then i tried running a small C# =
application written by me.It works fine on .NET.

heres the error i get when i run=20
>ilrun myapp.exe
could not locate the assembly System.Web/1.0.3300.0
myapp.exe: unresolved external references

Can someone provide me an insight into this?
Thanks/Regards
Sanket Gupta
------=_NextPart_000_0007_01C419ED.C78210B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I recently came to know about dotgnu =
and was very=20
excited to see this implementation.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I downloaded the installer for windows =
so that i=20
could try this thing out.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the samples run pretty well but then i =
tried=20
running a small C# application written by me.It works fine on =
.NET.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>heres the error i get when i run =
<BR>&gt;ilrun=20
myapp.exe</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>could not locate the assembly=20
System.Web/1.0.3300.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>myapp.exe: unresolved external=20
references</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can someone provide me an insight into=20
this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks/Regards</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Sanket Gupta</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C419ED.C78210B0--


From dotgnu@keesj.dds.nl Sun Apr 04 07:46:48 2004
Return-Path: <dotgnu@keesj.dds.nl>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 28852 invoked from network); 4 Apr 2004 07:46:47 -0000
Received: from unknown (HELO amsfep13-int.chello.nl) (213.46.243.24)
  by 0 with SMTP; 4 Apr 2004 07:46:47 -0000
Received: from node-d-402a.a2000.nl ([62.195.64.42])
          by amsfep13-int.chello.nl
          (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with ESMTP
          id <20040404082928.VNBR18647.amsfep13-int.chello.nl@node-d-402a.a2000.nl>
          for <pnet-developers@dotgnu.org>; Sun, 4 Apr 2004 10:29:28 +0200
From: Kees Jongenburger <dotgnu@keesj.dds.nl>
To: pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] could not locate the assembly System.Web/1.0.3300.0
Date: Sun, 4 Apr 2004 10:29:27 +0200
User-Agent: KMail/1.6.1
References: <000a01c419e5$65c6d070$17f35882@pokhran>
In-Reply-To: <000a01c419e5$65c6d070$17f35882@pokhran>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200404041029.28007.dotgnu@keesj.dds.nl>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

> could not locate the assembly System.Web/1.0.3300.0
> myapp.exe: unresolved external references
Hi,  

When I look on the web http://www.dotgnu.org/pnetlib-status/
I don't see the System.Web namespace so its probably not implemented (yet?)

greetings 

From savannah-root@gnu.org Sun Apr 04 09:38:43 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 8743 invoked from network); 4 Apr 2004 09:38:43 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 4 Apr 2004 09:38:43 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BA4l2-0000qK-D3
	for pnet-developers@dotgnu.org; Sun, 04 Apr 2004 06:21:40 -0400
From: "Richard Baumann" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8415
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Galeon/1.3.13 (Debian package 1.3.13-2)
X-Apparently-From: 24.193.134.243
X-Copy-To: Array
Message-Id: <E1BA4l2-0000qK-D3@savannah.gnu.org>
Date: Sun, 04 Apr 2004 06:21:40 -0400
Subject: [Pnet-developers] [bugs #8415] Xml parser fails to parse gnome# apis file
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8415] Latest Modifications:

Changes by: 
		Richard Baumann <biochem333@nyc.rr.com>
'Date: 
		Sun 04/04/04 at 10:21 (America/New_York)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Duplicate
         Assigned to | None                      | Rich333
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Duplicate of bug #8393.






/**************************************************************************/
[bugs #8415] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8415>
Project: DotGNU Portable.NET
Submitted by: Ilyak
On: Thu 04/01/04 at 20:31

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Duplicate
Assigned to:  Rich333
Status:  Closed


Summary:  Xml parser fails to parse gnome# apis file

Original Submission:  Look at attached test case. it eats up all memory and dies.

I can't port gnome# until this get resolved.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Sun 04/04/04 at 10:21         By: Rich333
Duplicate of bug #8393.

-------------------------------------------------------
Date: Fri 04/02/04 at 20:23         By: keesj
possible fix:
in XmlTextReader.cs add 
if (empty) 
{
 nodes.EndElement.SetInfo(localName, name, namespaceURI, prefix);
}

at row 1983.



-------------------------------------------------------
Date: Fri 04/02/04 at 07:15         By: keesj
this is the same bug as
http://savannah.gnu.org/bugs/?func=detailitem&item_id=8393

if you edit the xml file with vi and run
:%s,(<([^w]*) [^>]*)/>,1></2>,g
the test pases


 






File Attachments
-------------------

-------------------------------------------------------
Date: Fri 04/02/04 at 07:17  Name: shit.xml  Size: 75KB   By: keesj
modified test xml file that pases the test
http://savannah.gnu.org/bugs/download.php?item_id=8415&amp;item_file_id=1148

-------------------------------------------------------
Date: Thu 04/01/04 at 20:31  Name: xmlbug.tar.gz  Size: 7KB   By: Ilyak
This is test case!
http://savannah.gnu.org/bugs/download.php?item_id=8415&amp;item_file_id=1147






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8415>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Sun Apr 04 09:39:26 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 8923 invoked from network); 4 Apr 2004 09:39:26 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 4 Apr 2004 09:39:26 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BA4lj-0000ub-EQ
	for pnet-developers@dotgnu.org; Sun, 04 Apr 2004 06:22:23 -0400
From: "Richard Baumann" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8393
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Galeon/1.3.13 (Debian package 1.3.13-2)
X-Apparently-From: 24.193.134.243
X-Copy-To: Array
Message-Id: <E1BA4lj-0000ub-EQ@savannah.gnu.org>
Date: Sun, 04 Apr 2004 06:22:23 -0400
Subject: [Pnet-developers] [bugs #8393] XmlDocument.Load can not handle empty elements
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8393] Latest Modifications:

Changes by: 
		Richard Baumann <biochem333@nyc.rr.com>
'Date: 
		Sun 04/04/04 at 10:22 (America/New_York)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | Rich333
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
fixed in cvs






/**************************************************************************/
[bugs #8393] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8393>
Project: DotGNU Portable.NET
Submitted by: Kees Jongenburger
On: Wed 03/31/04 at 18:41

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  Rich333
Status:  Closed


Summary:  XmlDocument.Load can not handle empty elements

Original Submission:  When parsing an XML Element that contains empty elements the parser "hangs" for ever.

example:
using System.Xml;
//cscc -lSystem.Xml Test.cs -o Test.exe
public class Test{
  public static void Main() {
    XmlDocument doc = new XmlDocument();
    doc.LoadXml("<test><testempty/></test>");
  }
}


Follow-up Comments
------------------


-------------------------------------------------------
Date: Sun 04/04/04 at 10:22         By: Rich333
fixed in cvs






File Attachments
-------------------

-------------------------------------------------------
Date: Wed 03/31/04 at 18:41  Name: Test.cs  Size: 200KB   By: keesj
test class that demonstrates the behaviour
http://savannah.gnu.org/bugs/download.php?item_id=8393&amp;item_file_id=1145






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8393>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From pnet-devel01@foobarquarium.de Sun Apr 04 18:20:51 2004
Return-Path: <pnet-devel01@foobarquarium.de>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 24787 invoked from network); 4 Apr 2004 18:20:50 -0000
Received: from unknown (HELO obh.snafu.de) (213.73.92.34)
  by 0 with SMTP; 4 Apr 2004 18:20:50 -0000
Received: from port-212-202-35-101.reverse.qsc.de ([212.202.35.101] helo=luthien.iluathome.org)
	by obh.snafu.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 4.30; FreeBSD)
	id 1BACtq-0009yk-Ky
	for pnet-developers@dotgnu.org; Sun, 04 Apr 2004 21:03:18 +0200
From: Andre 'Ilu' Seidelt <pnet-devel01@foobarquarium.de>
To: PNET <pnet-developers@dotgnu.org>
Date: Sun, 4 Apr 2004 21:12:33 +0200
User-Agent: KMail/1.5.4
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200404042112.33880.pnet-devel01@foobarquarium.de>
X-Spam-Score: 2.2 (++)
X-Spam-Flag: NO
Subject: [Pnet-developers] Some questions regarding the code
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,

I'm still digging in the verifier and I have some questions now that I missed
yesterdays IRC-meeting :-)

- il_coder.h: ILEngineType and ILEngineStackItem, is the following right?
	ILEngineType_I4: is an int32, typeInfo has no meaning
	ILEngineType_I8: in64, typeInfo has no meaning
	ILEngineType_I: native int, typeInfo has no meaning
	ILEngineType_F: float, typeInfo has no meaning
	ILEngineType_M: managed pointer, does typeInfo mean anything?
	ILEngineType_O: object, typeInfo is an ILType which can be used to
		obtain the ILClass
	ILEngineType_T: what is that? an unmanaged pointer or would that
		be a native int?
	ILEngineType_MV: Managed value, does typeInfo mean anything?
	ILEngineType_Invalid: where is that used? as type for a void return?
	ILEngineType_TypedRef: typed reference, does typeInfo mean anything?

- The method cache is still a mystery to me. I'll try to outline what I think
	the whole thing does and please anybody correct me :-)
	The coder calls ILCacheMarkBytecode with the current CVM-Code position and
	the il-offset. The cache then puts these two numbers in a compressed form one
	entry after another into a 64-byte array which is in the ILCache-struct. If
	there would be not enough space for the next entry the buffer is flushed into
	the aux-data of the cache page. these entries are stringed together as a
	linked list. the end of the debug-data is marked by a -2,-2 entry.
	So if I would like to store my 'evolving' knowledge of the types on the stack
	I could basically do the same:
		* add a function, that accepts a position in the il-code and an array
			containing the stack-entries (vm-type and type-info).
		* add a buffer for 'faster building' in the ILCache struct.
		* add a list in the ILCache struct where I link the filled buffers.
		* add some means to iterate through the list to obtain the stored type-info
			for a given IL-offset.
	Are there any reasons why I shouldn't try it that way? would a (to be
	implemented) debugger be able to use that?

- if I 'look' at the execution stack at any given point between the execution
	of two translated IL-opcodes, is it possible to have a value on the stack
	which would not be there if the CVM would run the IL directly instead of
	running the converted code? or is it forbidden to CVM instructions to put
	anything on the stack beside the values possible by the 'direct' execution
	of IL-code.

- some time ago I added some printf()'s in _ILEngineAllocObject() and there
	were several allocations for classes with 'special' names (stuff looking like
	'<class>$<number>' as classnames, I don't remember exactly).
	what are these classes, autogenerated types e.g. for arrays? where and when
	are these classes generated?

Thanks and regards
	Ilu


From rweather@zip.com.au Sun Apr 04 21:23:14 2004
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 16468 invoked from network); 4 Apr 2004 21:23:13 -0000
Received: from unknown (HELO gizmo02ps.bigpond.com) (144.140.71.12)
  by 0 with SMTP; 4 Apr 2004 21:23:13 -0000
Received: (qmail 2006 invoked from network); 4 Apr 2004 22:01:09 -0000
Received: from unknown (HELO psmam10.bigpond.com) (144.135.25.97)
  by gizmo02ps.bigpond.com with SMTP; 4 Apr 2004 22:01:09 -0000
Received: from cpe-138-130-197-231.qld.bigpond.net.au ([138.130.197.231]) by psmam10.bigpond.com(MAM REL_3_4_2 216/9100590) with SMTP id 9100590; Mon, 05 Apr 2004 08:05:50 +1000
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: "Andre 'Ilu' Seidelt" <pnet-devel01@foobarquarium.de>,
 PNET <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] Some questions regarding the code
Date: Mon, 5 Apr 2004 08:01:02 +1000
User-Agent: KMail/1.4.3
References: <200404042112.33880.pnet-devel01@foobarquarium.de>
In-Reply-To: <200404042112.33880.pnet-devel01@foobarquarium.de>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200404050801.02701.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Monday 05 April 2004 05:12 am, Andre 'Ilu' Seidelt wrote:
> Hi,
>
> I'm still digging in the verifier and I have some questions now that I
> missed yesterdays IRC-meeting :-)
>
> - il_coder.h: ILEngineType and ILEngineStackItem, is the following righ=
t?
> =09ILEngineType_I4: is an int32, typeInfo has no meaning
> =09ILEngineType_I8: in64, typeInfo has no meaning
> =09ILEngineType_I: native int, typeInfo has no meaning
> =09ILEngineType_F: float, typeInfo has no meaning

Correct.

> =09ILEngineType_M: managed pointer, does typeInfo mean anything?

The typeinfo refers to the pointed-to type.  e.g. "managed pointer to int=
32".

> =09ILEngineType_O: object, typeInfo is an ILType which can be used to
> =09=09obtain the ILClass

Correct.

> =09ILEngineType_T: what is that? an unmanaged pointer or would that
> =09=09be a native int?

"T" is more or less the same as "M".  The distinction in the ECMA spec is=
 that=20
"T" points to values on the stack, whereas "M" points to values in the ob=
ject=20
heap.  We don't use the distinction all that much.  From your point of vi=
ew,=20
the two are identical.

> =09ILEngineType_MV: Managed value, does typeInfo mean anything?

It's the type of the managed value.

> =09ILEngineType_Invalid: where is that used? as type for a void return?

It's used in operator tables to indicate a bad combination of types.  i.e=
=2E a=20
verification error.

> =09ILEngineType_TypedRef: typed reference, does typeInfo mean anything?

Nope.

> - The method cache is still a mystery to me. I'll try to outline what I
> think the whole thing does and please anybody correct me :-)
> =09The coder calls ILCacheMarkBytecode with the current CVM-Code positi=
on and
> =09the il-offset. The cache then puts these two numbers in a compressed=
 form
> one entry after another into a 64-byte array which is in the
> ILCache-struct. If there would be not enough space for the next entry t=
he
> buffer is flushed into the aux-data of the cache page. these entries ar=
e
> stringed together as a linked list. the end of the debug-data is marked=
 by
> a -2,-2 entry. So if I would like to store my 'evolving' knowledge of t=
he
> types on the stack I could basically do the same:
> =09=09* add a function, that accepts a position in the il-code and an a=
rray
> =09=09=09containing the stack-entries (vm-type and type-info).
> =09=09* add a buffer for 'faster building' in the ILCache struct.
> =09=09* add a list in the ILCache struct where I link the filled buffer=
s.
> =09=09* add some means to iterate through the list to obtain the stored
> type-info for a given IL-offset.
> =09Are there any reasons why I shouldn't try it that way? would a (to b=
e
> =09implemented) debugger be able to use that?

That's more or less correct.  You don't have to use the ILCache though.  =
You=20
can allocate the information anywhere you want.  Once created, methods st=
ay=20
around forever, so all you need is some way to refer to your information =
from=20
CVM bytecode.  Like, say a pointer opcode argument that points at some=20
separate structure that you build.

> - if I 'look' at the execution stack at any given point between the
> execution of two translated IL-opcodes, is it possible to have a value =
on
> the stack which would not be there if the CVM would run the IL directly
> instead of running the converted code? or is it forbidden to CVM
> instructions to put anything on the stack beside the values possible by=
 the
> 'direct' execution of IL-code.

There are sometimes extra values.  Internalcall references have to push=20
information about the current thread, which doesn't correspond directly t=
o=20
IL.  These values may not appear in the verifier's image of the stack.  T=
he=20
simplest way to deal with this is to not trace into the internalcall stub=
s,=20
or to only trace at points where the stack contents are predictable.

> - some time ago I added some printf()'s in _ILEngineAllocObject() and t=
here
> =09were several allocations for classes with 'special' names (stuff loo=
king
> like '<class>$<number>' as classnames, I don't remember exactly).
> =09what are these classes, autogenerated types e.g. for arrays? where a=
nd
> when are these classes generated?

They are generated on demand.  They represent array and pointer types tha=
t IL=20
metadata doesn't directly declare as classes.  ILClassFromType takes care=
 of=20
the conversion.  ILClassToType can be used to convert back into the ILTyp=
e.

Cheers,

Rhys.


From gopalv82@yahoo.com Mon Apr 05 06:47:47 2004
Return-Path: <gopalv82@yahoo.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 12481 invoked from network); 5 Apr 2004 06:47:47 -0000
Received: from unknown (HELO web40003.mail.yahoo.com) (66.218.78.21)
  by 0 with SMTP; 5 Apr 2004 06:47:47 -0000
Message-ID: <20040405073024.68426.qmail@web40003.mail.yahoo.com>
Received: from [194.237.142.7] by web40003.mail.yahoo.com via HTTP; Mon, 05 Apr 2004 00:30:24 PDT
Date: Mon, 5 Apr 2004 00:30:24 -0700 (PDT)
From: Gopal V <gopalv82@yahoo.com>
Subject: Re: [Pnet-developers] could not locate the assembly System.Web/1.0.3300.0
To: Kees Jongenburger <dotgnu@keesj.dds.nl>, pnet-developers@dotgnu.org
In-Reply-To: <200404041029.28007.dotgnu@keesj.dds.nl>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,


--- Kees Jongenburger <dotgnu@keesj.dds.nl> wrote:
> > could not locate the assembly
> System.Web/1.0.3300.0
> > myapp.exe: unresolved external references
> Hi,  
> 
> When I look on the web
> http://www.dotgnu.org/pnetlib-status/
> I don't see the System.Web namespace so its probably
> not implemented (yet?)

System.Web will be added very soon to ml-pnet , once
I get some time to hack up a couple of missing
methods.

And btw, pnetlib-status hasn't been updated in a
LOOONG while ...maybe I should do this soonish :)

Gopal


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

From savannah-root@gnu.org Tue Apr 06 08:04:40 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 7723 invoked from network); 6 Apr 2004 08:04:40 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 6 Apr 2004 08:04:40 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BAmEx-00084m-2U
	for pnet-developers@dotgnu.org; Tue, 06 Apr 2004 04:47:27 -0400
From: "Russell Stuart" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8463
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021224
X-Apparently-From: 203.113.210.229
X-Copy-To: Array
Message-Id: <E1BAmEx-00084m-2U@savannah.gnu.org>
Date: Tue, 06 Apr 2004 04:47:27 -0400
Subject: [Pnet-developers] [bugs #8463] Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #8463] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8463>
Project: DotGNU Portable.NET
Submitted by: Russell Stuart
On: Tue 04/06/04 at 08:47

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun

Original Submission:  This standlone program:
  class X {
    static void Main() {
      System.Threading.Monitor.Wait(typeof(X));
    }
  }
causes a segmentation fault in ilrun.  It should throw a System.Threading.SynchronizationLockException.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8463>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From ddmk@r66.ru Tue Apr 06 11:15:38 2004
Return-Path: <ddmk@r66.ru>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 11427 invoked from network); 6 Apr 2004 11:15:37 -0000
Received: from unknown (HELO relay.utnet.ru) (195.209.191.2)
  by 0 with SMTP; 6 Apr 2004 11:15:37 -0000
Received: from relay.utnet.ru (relay.utnet.ru [195.209.191.2])
	by relay.utnet.ru (Postfix) with SMTP id F1B499BCE12
	for <pnet-developers@dotgnu.org>; Tue,  6 Apr 2004 17:53:48 +0600 (YEKST)
Received: from dima (unknown [195.12.65.162])
	by relay.utnet.ru (Postfix) with SMTP id D39CD9BCE0F
	for <pnet-developers@dotgnu.org>; Tue,  6 Apr 2004 17:53:48 +0600 (YEKST)
Message-ID: <001c01c41bce$597bb930$0202a8c0@dima>
From: "Dmitriy" <ddmk@r66.ru>
To: <pnet-developers@dotgnu.org>
Date: Tue, 6 Apr 2004 17:57:35 +0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Subject: [Pnet-developers] Comparing Portable.NET and Microsoft.NET(part 1)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

I had compared Portable.NET (framework)(version 0.6.4) and Microsoft.NET
(framework) under windows (using cygwin) and found several
incompatibilities.

Part1 compiler incompatibilities.
cscc is great compiler but has some bugs:
//lib.cs
using System;
namespace A
{
public class PluginLoader {
 public static void Main_dll()
    {
  Console.WriteLine("hi");}
    }
}
//compiling : cscc -out lib.dll lib.cs
//ok

//app.cs
using System;
//namespace A //if comment deleted it will work
//{
class Test { static void Main(string[] args)
  {    A.PluginLoader.Main_dll();}
    }
//}
// compiling : cscc -l lib.dll app.cs
error:
app.cs:6: `A' is not declared in the current scope
app.cs:6: `A' is not declared in the current scope
app.cs:6: invalid left operand to `.'
app.cs:6: called object is not a method or delegate

//compiling using Microsoft: csc -r:lib.dll app.cs
//ok
possible several next bugs is from cygwin:
1) i can't compile to jvm code
PNET\samples\simple>cscc -mjvm hello.cs
      3 [main] cscc 496 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
    545 [main] cscc 496 open_stackdumpfile: Dumping stack trace to
cscc.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=00445B13
eax=00000000 ebx=00000009 ecx=00000000 edx=00000000 esi=101ED2F8
edi=101EE298
ebp=0022EB18 esp=0022EAD0 program=D:\Programs\PNET\bin\cscc.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022EB18  00445B13  (101ED2F8, 00000002, 00000002, 00000002)
0022EB48  004466AC  (101ED2F8, 06000001, 0022EBC0, 610908A0)
0022EC18  0045C454  (101EE298, 00000000, 0022EC98, 0043767F)
0022EC28  004498DF  (101EE298, 00000000, 00004000, 00000096)
0022EC98  0043767F  (100333F8, 101EE298, 10025D80, 00000000)
0022ED08  0043AC69  (100333F8, 101EE1F8, 00000000, 00000000)
0022ED28  0043AE2A  (100333F8, 101ED2F8, 101EDF48, 101ED2F8)
0022ED68  004340ED  (100333F8, 101ED2F8, 101F4850, 000001B6)
0022EDB8  00434395  (100333F8, 10021CB0, 10021E9C, 00000000)
0022EE98  00432CE6  (00000001, 10021DD8, 00000000, 00000000)
0022EED8  0040376D  (10021CC8, 00000001, 00401062, 00000001)
0022EF10  004012F0  (00000003, 100201C8, 100200A8, 00000001)
0022EF80  61005DE0  (0022EF98, FFFFFFFF, 00000000, 00245728)
0022FF90  61005EE5  (00000000, 00000000, 00000000, 00000000)
End of stack trace

2)when cscc create exe file on ntfs file system it sets permission ONLY READ
AND WRITE
and NO execute permission.
so if you try to start exe you'll see "Access Denied."

Can you make wrapper csc tool with same keys as microsoft csc and only for
compiling cs files (as microsoft csc)?
when build string will be same and comparing of compilers will be more
easily


part 2 (in next letter ) about incopatibilities in class system (Emit
namespace).



From ddmk@r66.ru Tue Apr 06 11:29:52 2004
Return-Path: <ddmk@r66.ru>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 14365 invoked from network); 6 Apr 2004 11:29:48 -0000
Received: from unknown (HELO relay.utnet.ru) (195.209.191.2)
  by 0 with SMTP; 6 Apr 2004 11:29:48 -0000
Received: from relay.utnet.ru (relay.utnet.ru [195.209.191.2])
	by relay.utnet.ru (Postfix) with SMTP id 0875E9BCD03
	for <pnet-developers@dotgnu.org>; Tue,  6 Apr 2004 18:07:59 +0600 (YEKST)
Received: from dima (unknown [195.12.65.162])
	by relay.utnet.ru (Postfix) with SMTP id 2BB5E9BCD3F
	for <pnet-developers@dotgnu.org>; Tue,  6 Apr 2004 18:07:58 +0600 (YEKST)
Message-ID: <002501c41bd0$53bb5530$0202a8c0@dima>
From: "Dmitriy" <ddmk@r66.ru>
To: <pnet-developers@dotgnu.org>
Date: Tue, 6 Apr 2004 18:11:44 +0600
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0022_01C41C02.9E4C4F50"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Subject: [Pnet-developers] Compare Microsoft.NET and Portable.NET part2 Emit namespace
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a multi-part message in MIME format.

------=_NextPart_000_0022_01C41C02.9E4C4F50
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit

Emit.cs and Emit2.cs was get from PNET\samples\simple\emit.cs

and it was slightly modified to run under Microsoft without exception.
But i found principial difference in string:
modBuilder = asmBuilder.DefineDynamicModule(name+"Module");//for
Portable.NET
modBuilder = asmBuilder.DefineDynamicModule(name+"Module",name+".exe");//for
Microsoft
Emit.cs is works perfectly under Portable.NET but under Microsoft.NET it
without any exception generate MyEmitTest.exe but main module is NOT present
in MyEmitTest.exe
PNET\samples\simple>ildasm MyEmitTest.exe
// Input: MyEmitTest.exe
// Image type: EXE
// Native code present: No
// 32-bit only: No
// Length of IL data: 1024

.assembly MyEmitTestAssembly
{
        .hash algorithm 0x00008004
        .ver 0:0:0:0
}
.module RefEmit_OnDiskManifestModule
// MVID: {02F31E17-68E9-4092-9409-4665EFB70722}

Emit2.cs is not run under Portable.NET with exception
PNET\samples\simple>ilrun a.exe
Uncaught exception: System.NotSupportedException: External module files are
not supported
        at
System.Reflection.Emit.AssemblyBuilder.DefineDynamicModule(String, String,
Boolean) in ./
System/Reflection/Emit/AssemblyBuilder.cs:210
        at
System.Reflection.Emit.AssemblyBuilder.DefineDynamicModule(String, String)
in ./System/Re
flection/Emit/AssemblyBuilder.cs:204
        at XYZ.xyz(String)
        at XYZ.Main()

other corrected by me incompatipatibilities you can find in source :
//  localX.SetLocalSymInfo("x"); //ERROR Microsoft.NET required Debug
Builder to do this

class1.cs is not work under Portable.NET :
ilrun a.exe
---
Uncaught exception: System.EntryPointNotFoundException: Entry point was not
found
        at System.Reflection.ClrConstructor.Invoke(BindingFlags, Binder,
Object[], CultureInfo)
        at System.Reflection.ConstructorInfo.Invoke(Object[]) in
./System/Reflection/ConstructorInfo
.cs:61
        at TestILGenerator.Main() in Class1.cs:166

aVector1 = myDTctor.Invoke(aVargs1);//crash string for Portable.NET ....

sample was got from msdn


I need Emit to make runtime wrapper that supports several plugin interfaces
which unknown on compile time, each plugin is not know about other plugin
interfaces.

Please help me!!!.

------=_NextPart_000_0022_01C41C02.9E4C4F50
Content-Type: text/plain;
	name="Emit.cs"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Emit.cs"

/*=0A=
 * Emit.cs - Sample program for System.Reflection.Emit.=0A=
 *=0A=
 * Copyright (C) 2003  Free Software Foundation, Inc.=0A=
 *=0A=
 * This program is free software, you can redistribute it and/or modify=0A=
 * it under the terms of the GNU General Public License as published by=0A=
 * the Free Software Foundation, either version 2 of the License, or=0A=
 * (at your option) any later version.=0A=
 *=0A=
 * This program is distributed in the hope that it will be useful,=0A=
 * but WITHOUT ANY WARRANTY, without even the implied warranty of=0A=
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the=0A=
 * GNU General Public License for more details.=0A=
 *=0A=
 * You should have received a copy of the GNU General Public License=0A=
 * along with this program, if not, write to the Free Software=0A=
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  =
USA=0A=
 */=0A=
=0A=
using System;=0A=
using System.Threading;=0A=
using System.Reflection;=0A=
using System.Reflection.Emit;=0A=
=0A=
=0A=
public class XYZ=0A=
{=0A=
	// Generates the following class dynamically and outputs to <name>.exe:=0A=
	//=0A=
	//	public class <name>Type=0A=
	//	{=0A=
	//		private int x, y, z;=0A=
	//=0A=
	//		public <name>Type(int x, int y, int z) : base()=0A=
	//		{=0A=
	//			this.x =3D x;=0A=
	//			this.y =3D y;=0A=
	//			this.z =3D z;=0A=
	//		}=0A=
	//=0A=
	//		public int <name>Method()=0A=
	//		{=0A=
	//			x =3D (x * y) % z;=0A=
	//			return x;=0A=
	//		}=0A=
	//=0A=
	//		public static void <name>EntryPoint()=0A=
	//		{=0A=
	//			int x, y, z;=0A=
	//			<name>Type <name>Local;=0A=
	//=0A=
	//			x =3D 1;=0A=
	//			y =3D 2;=0A=
	//			z =3D 3;=0A=
	//			<name>Local =3D new <name>Type(x, y, z);=0A=
	//			Console.WriteLine("(x:1 * y:2) % z:3 =3D=3D " +=0A=
	//			                  <name>Local.<name>Method());=0A=
	//		}=0A=
	//	}=0A=
	//=0A=
	public static void xyz(String name)=0A=
	{=0A=
		AppDomain domain;=0A=
		AssemblyName asmName;=0A=
		AssemblyBuilder asmBuilder;=0A=
		ModuleBuilder modBuilder;=0A=
		TypeBuilder typeBuilder;=0A=
=0A=
		// Begin building our dynamic assembly=0A=
		domain =3D Thread.GetDomain();=0A=
		asmName =3D new AssemblyName();=0A=
		asmName.Name =3D name+"Assembly";=0A=
		asmBuilder =3D domain.DefineDynamicAssembly(asmName, =
AssemblyBuilderAccess.RunAndSave, "./");=0A=
		modBuilder =3D asmBuilder.DefineDynamicModule(name+"Module");=0A=
		typeBuilder =3D modBuilder.DefineType(name+"Type", =
TypeAttributes.Public);=0A=
=0A=
		FieldBuilder fieldX;=0A=
		FieldBuilder fieldY;=0A=
		FieldBuilder fieldZ;=0A=
=0A=
		// Create a few fields for our dynamic type=0A=
		fieldX =3D typeBuilder.DefineField("x", typeof(int), =
FieldAttributes.Private);=0A=
		fieldY =3D typeBuilder.DefineField("y", typeof(int), =
FieldAttributes.Private);=0A=
		fieldZ =3D typeBuilder.DefineField("z", typeof(int), =
FieldAttributes.Private);=0A=
=0A=
		ConstructorBuilder ctorBuilder;=0A=
		ILGenerator ctorILGen;=0A=
		Type[] ctorParams =3D new Type[]=0A=
		{=0A=
			typeof(int),=0A=
			typeof(int),=0A=
			typeof(int)=0A=
		};=0A=
=0A=
		// Build the constructor for our dynamic type=0A=
		ctorBuilder =3D typeBuilder.DefineConstructor(MethodAttributes.Public,=0A=
		                                            =
CallingConventions.Standard,=0A=
		                                            ctorParams);=0A=
		ctorILGen =3D ctorBuilder.GetILGenerator();=0A=
		ctorILGen.Emit(OpCodes.Ldarg_0);=0A=
		ctorILGen.Emit(OpCodes.Call, (typeof(object)).GetConstructor(new =
Type[0]));=0A=
		ctorILGen.Emit(OpCodes.Ldarg_0);=0A=
		ctorILGen.Emit(OpCodes.Ldarg_1);=0A=
		ctorILGen.Emit(OpCodes.Stfld, fieldX);=0A=
		ctorILGen.Emit(OpCodes.Ldarg_0);=0A=
		ctorILGen.Emit(OpCodes.Ldarg_2);=0A=
		ctorILGen.Emit(OpCodes.Stfld, fieldY);=0A=
		ctorILGen.Emit(OpCodes.Ldarg_0);=0A=
		ctorILGen.Emit(OpCodes.Ldarg_3);=0A=
		ctorILGen.Emit(OpCodes.Stfld, fieldZ);=0A=
		ctorILGen.Emit(OpCodes.Ret);=0A=
=0A=
		MethodBuilder methodBuilder;=0A=
		ILGenerator methodILGen;=0A=
		Type[] methodParams =3D new Type[0];=0A=
=0A=
		// Build an instance method for our dynamic type=0A=
		methodBuilder =3D typeBuilder.DefineMethod(name+"Method",=0A=
		                                         MethodAttributes.Public,=0A=
		                                         typeof(int),=0A=
		                                         methodParams);=0A=
		methodILGen =3D methodBuilder.GetILGenerator();=0A=
		methodILGen.Emit(OpCodes.Ldarg_0);=0A=
		methodILGen.Emit(OpCodes.Ldarg_0);=0A=
		methodILGen.Emit(OpCodes.Ldfld, fieldX);=0A=
		methodILGen.Emit(OpCodes.Ldarg_0);=0A=
		methodILGen.Emit(OpCodes.Ldfld, fieldY);=0A=
		methodILGen.Emit(OpCodes.Mul);=0A=
		methodILGen.Emit(OpCodes.Ldarg_0);=0A=
		methodILGen.Emit(OpCodes.Ldfld, fieldZ);=0A=
		methodILGen.Emit(OpCodes.Rem);=0A=
		methodILGen.Emit(OpCodes.Stfld, fieldX);=0A=
		methodILGen.Emit(OpCodes.Ldarg_0);=0A=
		methodILGen.Emit(OpCodes.Ldfld, fieldX);=0A=
		methodILGen.Emit(OpCodes.Ret);=0A=
=0A=
		MethodBuilder entryBuilder;=0A=
		ILGenerator entryILGen;=0A=
		LocalBuilder localX;=0A=
		LocalBuilder localY;=0A=
		LocalBuilder localZ;=0A=
		LocalBuilder localT;=0A=
		MethodInfo writeln;=0A=
		MethodInfo concat;=0A=
		Type[] entryParams =3D new Type[0];=0A=
		Type[] writelnParams =3D new Type[]=0A=
		{=0A=
			typeof(string)=0A=
		};=0A=
		Type[] concatParams =3D new Type[]=0A=
		{=0A=
			typeof(object),=0A=
			typeof(object)=0A=
		};=0A=
=0A=
		// Get some methods for use in our entry point=0A=
		writeln =3D (typeof(Console)).GetMethod("WriteLine", writelnParams);=0A=
		concat =3D (typeof(string)).GetMethod("Concat", concatParams);=0A=
=0A=
		// Build the entry point for our dynamic assembly=0A=
		entryBuilder =3D typeBuilder.DefineMethod(name+"EntryPoint",=0A=
		                                        MethodAttributes.Public |=0A=
		                                        MethodAttributes.Static,=0A=
		                                        typeof(void),=0A=
		                                        entryParams);=0A=
		entryILGen =3D entryBuilder.GetILGenerator();=0A=
		localX =3D entryILGen.DeclareLocal(typeof(int));=0A=
//		localX.SetLocalSymInfo("x"); //ERROR Microsoft.NET required Debug =
Builder to do this =0A=
		localY =3D entryILGen.DeclareLocal(typeof(int));=0A=
//		localY.SetLocalSymInfo("y");=0A=
		localZ =3D entryILGen.DeclareLocal(typeof(int));=0A=
//		localZ.SetLocalSymInfo("z");=0A=
		localT =3D entryILGen.DeclareLocal(typeBuilder);=0A=
//		localT.SetLocalSymInfo(name+"Local");=0A=
		entryILGen.Emit(OpCodes.Ldc_I4_1);=0A=
		entryILGen.Emit(OpCodes.Stloc_0);=0A=
		entryILGen.Emit(OpCodes.Ldc_I4_2);=0A=
		entryILGen.Emit(OpCodes.Stloc_S, localY);=0A=
		entryILGen.Emit(OpCodes.Ldc_I4_3);=0A=
		entryILGen.Emit(OpCodes.Stloc_2);=0A=
		entryILGen.Emit(OpCodes.Ldloc_0);=0A=
		entryILGen.Emit(OpCodes.Ldloc_1);=0A=
		entryILGen.Emit(OpCodes.Ldloc_2);=0A=
		entryILGen.Emit(OpCodes.Newobj, ctorBuilder);=0A=
		entryILGen.Emit(OpCodes.Stloc_3);=0A=
		entryILGen.Emit(OpCodes.Ldstr, "(x:1 * y:2) % z:3 =3D=3D ");=0A=
		entryILGen.Emit(OpCodes.Ldloc_S, localT);=0A=
		entryILGen.EmitCall(OpCodes.Callvirt, (MethodInfo)methodBuilder, null);=0A=
		entryILGen.Emit(OpCodes.Box, typeof(System.Int32));=0A=
		entryILGen.EmitCall(OpCodes.Call, concat, null);=0A=
		entryILGen.EmitCall(OpCodes.Call, writeln, null);=0A=
		entryILGen.Emit(OpCodes.Ret);=0A=
=0A=
=0A=
		// Set the entry point for our dynamic assembly=0A=
		asmBuilder.SetEntryPoint(entryBuilder, PEFileKinds.ConsoleApplication);=0A=
=0A=
		// Finalize our type and save our assembly=0A=
		typeBuilder.CreateType();=0A=
		asmBuilder.Save(name+".exe");=0A=
	}=0A=
=0A=
	public static void Main()=0A=
	{=0A=
		XYZ.xyz("MyEmitTest");=0A=
	}=0A=
}=0A=
=0A=

------=_NextPart_000_0022_01C41C02.9E4C4F50
Content-Type: text/plain;
	name="Emit2.cs"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Emit2.cs"

/*=0A=
 * Emit.cs - Sample program for System.Reflection.Emit.=0A=
 *=0A=
 * Copyright (C) 2003  Free Software Foundation, Inc.=0A=
 *=0A=
 * This program is free software, you can redistribute it and/or modify=0A=
 * it under the terms of the GNU General Public License as published by=0A=
 * the Free Software Foundation, either version 2 of the License, or=0A=
 * (at your option) any later version.=0A=
 *=0A=
 * This program is distributed in the hope that it will be useful,=0A=
 * but WITHOUT ANY WARRANTY, without even the implied warranty of=0A=
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the=0A=
 * GNU General Public License for more details.=0A=
 *=0A=
 * You should have received a copy of the GNU General Public License=0A=
 * along with this program, if not, write to the Free Software=0A=
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  =
USA=0A=
 */=0A=
=0A=
using System;=0A=
using System.Threading;=0A=
using System.Reflection;=0A=
using System.Reflection.Emit;=0A=
=0A=
=0A=
public class XYZ=0A=
{=0A=
	// Generates the following class dynamically and outputs to <name>.exe:=0A=
	//=0A=
	//	public class <name>Type=0A=
	//	{=0A=
	//		private int x, y, z;=0A=
	//=0A=
	//		public <name>Type(int x, int y, int z) : base()=0A=
	//		{=0A=
	//			this.x =3D x;=0A=
	//			this.y =3D y;=0A=
	//			this.z =3D z;=0A=
	//		}=0A=
	//=0A=
	//		public int <name>Method()=0A=
	//		{=0A=
	//			x =3D (x * y) % z;=0A=
	//			return x;=0A=
	//		}=0A=
	//=0A=
	//		public static void <name>EntryPoint()=0A=
	//		{=0A=
	//			int x, y, z;=0A=
	//			<name>Type <name>Local;=0A=
	//=0A=
	//			x =3D 1;=0A=
	//			y =3D 2;=0A=
	//			z =3D 3;=0A=
	//			<name>Local =3D new <name>Type(x, y, z);=0A=
	//			Console.WriteLine("(x:1 * y:2) % z:3 =3D=3D " +=0A=
	//			                  <name>Local.<name>Method());=0A=
	//		}=0A=
	//	}=0A=
	//=0A=
	public static void xyz(String name)=0A=
	{=0A=
		AppDomain domain;=0A=
		AssemblyName asmName;=0A=
		AssemblyBuilder asmBuilder;=0A=
		ModuleBuilder modBuilder;=0A=
		TypeBuilder typeBuilder;=0A=
=0A=
		// Begin building our dynamic assembly=0A=
		domain =3D Thread.GetDomain();=0A=
		asmName =3D new AssemblyName();=0A=
		asmName.Name =3D name+"Assembly";=0A=
		asmBuilder =3D domain.DefineDynamicAssembly(asmName, =
AssemblyBuilderAccess.RunAndSave, "./");=0A=
		modBuilder =3D =
asmBuilder.DefineDynamicModule(name+"Module",name+".exe");=0A=
		typeBuilder =3D modBuilder.DefineType(name+"Type", =
TypeAttributes.Public);=0A=
=0A=
		FieldBuilder fieldX;=0A=
		FieldBuilder fieldY;=0A=
		FieldBuilder fieldZ;=0A=
=0A=
		// Create a few fields for our dynamic type=0A=
		fieldX =3D typeBuilder.DefineField("x", typeof(int), =
FieldAttributes.Private);=0A=
		fieldY =3D typeBuilder.DefineField("y", typeof(int), =
FieldAttributes.Private);=0A=
		fieldZ =3D typeBuilder.DefineField("z", typeof(int), =
FieldAttributes.Private);=0A=
=0A=
		ConstructorBuilder ctorBuilder;=0A=
		ILGenerator ctorILGen;=0A=
		Type[] ctorParams =3D new Type[]=0A=
		{=0A=
			typeof(int),=0A=
			typeof(int),=0A=
			typeof(int)=0A=
		};=0A=
=0A=
		// Build the constructor for our dynamic type=0A=
		ctorBuilder =3D typeBuilder.DefineConstructor(MethodAttributes.Public,=0A=
		                                            =
CallingConventions.Standard,=0A=
		                                            ctorParams);=0A=
		ctorILGen =3D ctorBuilder.GetILGenerator();=0A=
		ctorILGen.Emit(OpCodes.Ldarg_0);=0A=
		ctorILGen.Emit(OpCodes.Call, (typeof(object)).GetConstructor(new =
Type[0]));=0A=
		ctorILGen.Emit(OpCodes.Ldarg_0);=0A=
		ctorILGen.Emit(OpCodes.Ldarg_1);=0A=
		ctorILGen.Emit(OpCodes.Stfld, fieldX);=0A=
		ctorILGen.Emit(OpCodes.Ldarg_0);=0A=
		ctorILGen.Emit(OpCodes.Ldarg_2);=0A=
		ctorILGen.Emit(OpCodes.Stfld, fieldY);=0A=
		ctorILGen.Emit(OpCodes.Ldarg_0);=0A=
		ctorILGen.Emit(OpCodes.Ldarg_3);=0A=
		ctorILGen.Emit(OpCodes.Stfld, fieldZ);=0A=
		ctorILGen.Emit(OpCodes.Ret);=0A=
=0A=
		MethodBuilder methodBuilder;=0A=
		ILGenerator methodILGen;=0A=
		Type[] methodParams =3D new Type[0];=0A=
=0A=
		// Build an instance method for our dynamic type=0A=
		methodBuilder =3D typeBuilder.DefineMethod(name+"Method",=0A=
		                                         MethodAttributes.Public,=0A=
		                                         typeof(int),=0A=
		                                         methodParams);=0A=
		methodILGen =3D methodBuilder.GetILGenerator();=0A=
		methodILGen.Emit(OpCodes.Ldarg_0);=0A=
		methodILGen.Emit(OpCodes.Ldarg_0);=0A=
		methodILGen.Emit(OpCodes.Ldfld, fieldX);=0A=
		methodILGen.Emit(OpCodes.Ldarg_0);=0A=
		methodILGen.Emit(OpCodes.Ldfld, fieldY);=0A=
		methodILGen.Emit(OpCodes.Mul);=0A=
		methodILGen.Emit(OpCodes.Ldarg_0);=0A=
		methodILGen.Emit(OpCodes.Ldfld, fieldZ);=0A=
		methodILGen.Emit(OpCodes.Rem);=0A=
		methodILGen.Emit(OpCodes.Stfld, fieldX);=0A=
		methodILGen.Emit(OpCodes.Ldarg_0);=0A=
		methodILGen.Emit(OpCodes.Ldfld, fieldX);=0A=
		methodILGen.Emit(OpCodes.Ret);=0A=
=0A=
		MethodBuilder entryBuilder;=0A=
		ILGenerator entryILGen;=0A=
		LocalBuilder localX;=0A=
		LocalBuilder localY;=0A=
		LocalBuilder localZ;=0A=
		LocalBuilder localT;=0A=
		MethodInfo writeln;=0A=
		MethodInfo concat;=0A=
		Type[] entryParams =3D new Type[0];=0A=
		Type[] writelnParams =3D new Type[]=0A=
		{=0A=
			typeof(string)=0A=
		};=0A=
		Type[] concatParams =3D new Type[]=0A=
		{=0A=
			typeof(object),=0A=
			typeof(object)=0A=
		};=0A=
=0A=
		// Get some methods for use in our entry point=0A=
		writeln =3D (typeof(Console)).GetMethod("WriteLine", writelnParams);=0A=
		concat =3D (typeof(string)).GetMethod("Concat", concatParams);=0A=
=0A=
		// Build the entry point for our dynamic assembly=0A=
		entryBuilder =3D typeBuilder.DefineMethod(name+"EntryPoint",=0A=
		                                        MethodAttributes.Public |=0A=
		                                        MethodAttributes.Static,=0A=
		                                        typeof(void),=0A=
		                                        entryParams);=0A=
		entryILGen =3D entryBuilder.GetILGenerator();=0A=
		localX =3D entryILGen.DeclareLocal(typeof(int));=0A=
//		localX.SetLocalSymInfo("x"); //ERROR Microsoft.NET required Debug =
Builder to do this =0A=
		localY =3D entryILGen.DeclareLocal(typeof(int));=0A=
//		localY.SetLocalSymInfo("y");=0A=
		localZ =3D entryILGen.DeclareLocal(typeof(int));=0A=
//		localZ.SetLocalSymInfo("z");=0A=
		localT =3D entryILGen.DeclareLocal(typeBuilder);=0A=
//		localT.SetLocalSymInfo(name+"Local");=0A=
		entryILGen.Emit(OpCodes.Ldc_I4_1);=0A=
		entryILGen.Emit(OpCodes.Stloc_0);=0A=
		entryILGen.Emit(OpCodes.Ldc_I4_2);=0A=
		entryILGen.Emit(OpCodes.Stloc_S, localY);=0A=
		entryILGen.Emit(OpCodes.Ldc_I4_3);=0A=
		entryILGen.Emit(OpCodes.Stloc_2);=0A=
		entryILGen.Emit(OpCodes.Ldloc_0);=0A=
		entryILGen.Emit(OpCodes.Ldloc_1);=0A=
		entryILGen.Emit(OpCodes.Ldloc_2);=0A=
		entryILGen.Emit(OpCodes.Newobj, ctorBuilder);=0A=
		entryILGen.Emit(OpCodes.Stloc_3);=0A=
		entryILGen.Emit(OpCodes.Ldstr, "(x:1 * y:2) % z:3 =3D=3D ");=0A=
		entryILGen.Emit(OpCodes.Ldloc_S, localT);=0A=
		entryILGen.EmitCall(OpCodes.Callvirt, (MethodInfo)methodBuilder, null);=0A=
		entryILGen.Emit(OpCodes.Box, typeof(System.Int32));=0A=
		entryILGen.EmitCall(OpCodes.Call, concat, null);=0A=
		entryILGen.EmitCall(OpCodes.Call, writeln, null);=0A=
		entryILGen.Emit(OpCodes.Ret);=0A=
=0A=
=0A=
		// Set the entry point for our dynamic assembly=0A=
		asmBuilder.SetEntryPoint(entryBuilder, PEFileKinds.ConsoleApplication);=0A=
=0A=
		// Finalize our type and save our assembly=0A=
		typeBuilder.CreateType();=0A=
		asmBuilder.Save(name+".exe");=0A=
	}=0A=
=0A=
	public static void Main()=0A=
	{=0A=
		XYZ.xyz("MyEmitTest");=0A=
	}=0A=
}=0A=
=0A=

------=_NextPart_000_0022_01C41C02.9E4C4F50
Content-Type: text/plain;
	name="Class1.cs"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Class1.cs"

using System;
using System.Threading;
using System.Reflection;
using System.Reflection.Emit;


class TestILGenerator=20
{
=20
	public static Type DynamicDotProductGen()=20
	{
     =20
	=09
    =20
		AppDomain myDomain =3D Thread.GetDomain();

		AssemblyName myAsmName =3D new AssemblyName();
		myAsmName.Name =3D "IntVectorAsm";
   =20
		AssemblyBuilder myAsmBuilder =3D=20
			myDomain.DefineDynamicAssembly(myAsmName,AssemblyBuilderAccess.Run); =
//RunAndSave //Unsupported by Portable.NET

		ModuleBuilder IntVectorModule =3D=20
			myAsmBuilder.DefineDynamicModule("IntVectorModule");//,"Vector.dll"
//			myAsmBuilder.DefineDynamicModule("IntVectorModule","Vector.dll"); =
//Unsupported by Portable.NET

		TypeBuilder ivTypeBld =3D IntVectorModule.DefineType("IntVector",
			TypeAttributes.Public);

		FieldBuilder xField =3D=20
			ivTypeBld.DefineField("x", typeof(int),	FieldAttributes.Private);
		FieldBuilder yField =3D=20
			ivTypeBld.DefineField("y", typeof(int), FieldAttributes.Private);
		FieldBuilder zField =3D=20
			ivTypeBld.DefineField("z", typeof(int), FieldAttributes.Private);


		Type objType =3D Type.GetType("System.Object");=20
		ConstructorInfo objCtor =3D objType.GetConstructor(new Type[0]);

		ConstructorBuilder ivCtor =3D ivTypeBld.DefineConstructor(
			MethodAttributes.Public,
			CallingConventions.Standard,
			new Type[] { typeof(int), typeof(int),  typeof(int)});
		//last string - inpt values types for constructor type[]
		ILGenerator ctorIL =3D ivCtor.GetILGenerator();
		ctorIL.Emit(OpCodes.Ldarg_0);
		ctorIL.Emit(OpCodes.Call, objCtor);
		ctorIL.Emit(OpCodes.Ldarg_0);
		ctorIL.Emit(OpCodes.Ldarg_1);
		ctorIL.Emit(OpCodes.Stfld, xField);=20
		ctorIL.Emit(OpCodes.Ldarg_0);
		ctorIL.Emit(OpCodes.Ldarg_2);
		ctorIL.Emit(OpCodes.Stfld, yField);=20
		ctorIL.Emit(OpCodes.Ldarg_0);
		ctorIL.Emit(OpCodes.Ldarg_3);
		ctorIL.Emit(OpCodes.Stfld, zField);=20
		ctorIL.Emit(OpCodes.Ret);=20


		// This method will find the dot product of the stored vector
		// with another.

		Type[] dpParams =3D new Type[] { ivTypeBld };

		// Here, you create a MethodBuilder containing the
		// name, the attributes (public, static, private, and so on),
		// the return type (int, in this case), and a array of Type
		// indicating the type of each parameter. Since the sole parameter
		// is a IntVector, the very class you're creating, you will
		// pass in the TypeBuilder (which is derived from Type) instead of=20
		// a Type object for IntVector, avoiding an exception.=20

		// -- This method would be declared in C# as:
		//    public int DotProduct(IntVector aVector)

		MethodBuilder dotProductMthd =3D ivTypeBld.DefineMethod(
			"DotProduct", MethodAttributes.Public,typeof(int),dpParams);//Type[] =
dpParams =3D new Type[] { ivTypeBld };

		// A ILGenerator can now be spawned, attached to the MethodBuilder.

		ILGenerator mthdIL =3D dotProductMthd.GetILGenerator();
      =20
		// Here's the body of our function, in MSIL form. We're going to find =
the
		// "dot product" of the current vector instance with the passed vector =

		// instance. For reference purposes, the equation is:
		// (x1 * x2) + (y1 * y2) + (z1 * z2) =3D the dot product

		// First, you'll load the reference to the current instance "this"
		// stored in argument 0 (ldarg.0) onto the stack. Ldfld, the =
subsequent
		// instruction, will pop the reference off the stack and look up the
		// field "x", specified by the FieldInfo token "xField".

		mthdIL.Emit(OpCodes.Ldarg_0);
		mthdIL.Emit(OpCodes.Ldfld, xField);

		// That completed, the value stored at field "x" is now atop the =
stack.
		// Now, you'll do the same for the object reference we passed as a
		// parameter, stored in argument 1 (ldarg.1). After Ldfld executed,
		// you'll have the value stored in field "x" for the passed instance
		// atop the stack.

		mthdIL.Emit(OpCodes.Ldarg_1);
		mthdIL.Emit(OpCodes.Ldfld, xField);

		// There will now be two values atop the stack - the "x" value for the
		// current vector instance, and the "x" value for the passed instance.
		// You'll now multiply them, and push the result onto the evaluation =
stack.

		mthdIL.Emit(OpCodes.Mul_Ovf_Un);

		// Now, repeat this for the "y" fields of both vectors.

		mthdIL.Emit(OpCodes.Ldarg_0);
		mthdIL.Emit(OpCodes.Ldfld, yField);
		mthdIL.Emit(OpCodes.Ldarg_1);
		mthdIL.Emit(OpCodes.Ldfld, yField);
		mthdIL.Emit(OpCodes.Mul_Ovf_Un);

		// At this time, the results of both multiplications should be atop
		// the stack. You'll now add them and push the result onto the stack.

		mthdIL.Emit(OpCodes.Add_Ovf_Un);

		// Multiply both "z" field and push the result onto the stack.
		mthdIL.Emit(OpCodes.Ldarg_0);
		mthdIL.Emit(OpCodes.Ldfld, zField);
		mthdIL.Emit(OpCodes.Ldarg_1);
		mthdIL.Emit(OpCodes.Ldfld, zField);
		mthdIL.Emit(OpCodes.Mul_Ovf_Un);

		// Finally, add the result of multiplying the "z" fields with the
		// result of the earlier addition, and push the result - the dot =
product -
		// onto the stack.
		mthdIL.Emit(OpCodes.Add_Ovf_Un);

		// The "ret" opcode will pop the last value from the stack and return =
it
		// to the calling method. You're all done!

		mthdIL.Emit(OpCodes.Ret);


		Type ivType =3D ivTypeBld.CreateType();

		return ivType;

	}

	public static void Main()=20
	{
   =20
		Type IVType =3D null;
		object aVector1 =3D null;
		object aVector2 =3D null;
		Type[] aVtypes =3D new Type[] {typeof(int), typeof(int), typeof(int)};
		object[] aVargs1 =3D new object[] {10, 10, 10};
		object[] aVargs2 =3D new object[] {20, 20, 20};
   =20
		// Call the  method to build our dynamic class.

		IVType =3D DynamicDotProductGen();

		Console.WriteLine("---");

		ConstructorInfo myDTctor =3D IVType.GetConstructor(aVtypes);
		aVector1 =3D myDTctor.Invoke(aVargs1);//crash string for Portable.NET =
....
		aVector2 =3D myDTctor.Invoke(aVargs2);

		object[] passMe =3D new object[1];
		passMe[0] =3D (object)aVector2;=20

		Console.WriteLine("(10, 10, 10) . (20, 20, 20) =3D {0}",
			IVType.InvokeMember("DotProduct",
			BindingFlags.InvokeMethod,
			null,
			aVector1,
			passMe));

       =20

		// +++ OUTPUT +++
		// ---
		// (10, 10, 10) . (20, 20, 20) =3D 600=20
       =20
	}
   =20
}

------=_NextPart_000_0022_01C41C02.9E4C4F50--



From ddmk@r66.ru Tue Apr 06 11:36:24 2004
Return-Path: <ddmk@r66.ru>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 15896 invoked from network); 6 Apr 2004 11:36:23 -0000
Received: from unknown (HELO relay.utnet.ru) (195.209.191.2)
  by 0 with SMTP; 6 Apr 2004 11:36:23 -0000
Received: from relay.utnet.ru (relay.utnet.ru [195.209.191.2])
	by relay.utnet.ru (Postfix) with SMTP id C2DD99BCE0C
	for <pnet-developers@dotgnu.org>; Tue,  6 Apr 2004 18:14:34 +0600 (YEKST)
Received: from dima (unknown [195.12.65.162])
	by relay.utnet.ru (Postfix) with SMTP id 8EC4B9BC14A
	for <pnet-developers@dotgnu.org>; Tue,  6 Apr 2004 18:14:34 +0600 (YEKST)
Message-ID: <001101c41bd1$40048790$0202a8c0@dima>
From: "Dmitriy" <ddmk@r66.ru>
To: <pnet-developers@dotgnu.org>
Date: Tue, 6 Apr 2004 18:18:20 +0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Subject: [Pnet-developers] Comparing Portable.NET and Microsoft.NET(part 3)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Under windows (using cygwin) if callback (delegate) passed to unmanaged code
Microsoft.NET passed it as              stdcall
Portable.NET   passed it as              cdecl

I don't know how set type of delegate to be Marshaled to unmanaged code.
if anybody knows please help.



From ddmk@r66.ru Tue Apr 06 13:49:18 2004
Return-Path: <ddmk@r66.ru>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 9743 invoked from network); 6 Apr 2004 13:49:17 -0000
Received: from unknown (HELO relay.utnet.ru) (195.209.191.2)
  by 0 with SMTP; 6 Apr 2004 13:49:17 -0000
Received: from relay.utnet.ru (relay.utnet.ru [195.209.191.2])
	by relay.utnet.ru (Postfix) with SMTP id 0D42B9BBD07
	for <pnet-developers@dotgnu.org>; Tue,  6 Apr 2004 20:27:29 +0600 (YEKST)
Received: from dima (unknown [195.12.65.162])
	by relay.utnet.ru (Postfix) with SMTP id AC0759BBC3E
	for <pnet-developers@dotgnu.org>; Tue,  6 Apr 2004 20:27:28 +0600 (YEKST)
Message-ID: <001001c41be3$d1462da0$0202a8c0@dima>
From: "Dmitriy" <ddmk@r66.ru>
To: <pnet-developers@dotgnu.org>
Date: Tue, 6 Apr 2004 20:31:15 +0600
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_000D_01C41C16.1BCB19D0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Subject: [Pnet-developers] back to Emit problems
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C41C16.1BCB19D0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit

ilrun a.exe

Uncaught exception: System.EntryPointNotFoundException: Entry point was not
found
        at System.Reflection.ClrConstructor.Invoke(BindingFlags, Binder,
Object[], CultureInfo)
        at System.Reflection.ClrType.InvokeMember(String, BindingFlags,
Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) in
./System/Reflection/ClrType.cs:854
        at System.Activator.CreateInstance(Type, BindingFlags, Binder,
Object[], CultureInfo, Object[]) in ./System/Activator.cs:130
        at System.Activator.CreateInstance(Type) in ./System/Activator.cs:74
        at TestILGenerator.Main() in Class1.cs:215

string
testIF=System.Activator.CreateInstance(IVType);

I need that this work -  it is a way to write interface wrapper (type that
implements interface which is not known on compilation stage)

------=_NextPart_000_000D_01C41C16.1BCB19D0
Content-Type: text/plain;
	name="Class1.cs"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Class1.cs"

using System;
using System.Threading;
using System.Reflection;
using System.Reflection.Emit;


class TestILGenerator=20
{
	interface ISet
	{
		void SetY(int y);
		int  GetY();
	}
=20
	public static Type DynamicDotProductGen()=20
	{
     =20
	=09
    =20
		AppDomain myDomain =3D Thread.GetDomain();

		AssemblyName myAsmName =3D new AssemblyName();
		myAsmName.Name =3D "IntVectorAsm";
   =20
		AssemblyBuilder myAsmBuilder =3D=20
			myDomain.DefineDynamicAssembly(myAsmName,AssemblyBuilderAccess.Run); =
//RunAndSave //Unsupported by Portable.NET

		ModuleBuilder IntVectorModule =3D=20
			myAsmBuilder.DefineDynamicModule("IntVectorModule");//,"Vector.dll"
//			myAsmBuilder.DefineDynamicModule("IntVectorModule","Vector.dll"); =
//Unsupported by Portable.NET

		TypeBuilder ivTypeBld =3D IntVectorModule.DefineType("IntVector",
			TypeAttributes.Public);
		ivTypeBld.AddInterfaceImplementation(typeof(ISet));

		FieldBuilder xField =3D=20
			ivTypeBld.DefineField("x", typeof(int),	FieldAttributes.Private);
		FieldBuilder yField =3D=20
			ivTypeBld.DefineField("y", typeof(int), FieldAttributes.Private);
		FieldBuilder zField =3D=20
			ivTypeBld.DefineField("z", typeof(int), FieldAttributes.Private);


		Type objType =3D Type.GetType("System.Object");=20
		ConstructorInfo objCtor =3D objType.GetConstructor(new Type[0]);

		//interface implimetnation=20
		MethodBuilder SetMthd =3D ivTypeBld.DefineMethod(
			"SetY", =
MethodAttributes.Public|MethodAttributes.Virtual,typeof(void),new Type[] =
{typeof(int)});//Type[] dpParams =3D new Type[] { ivTypeBld };

		ILGenerator SetMthdIL=3DSetMthd.GetILGenerator();
		SetMthdIL.Emit(OpCodes.Ldarg_0);
		SetMthdIL.Emit(OpCodes.Ldarg_1);
		SetMthdIL.Emit(OpCodes.Stfld,yField);
		SetMthdIL.Emit(OpCodes.Ret);

		MethodInfo IFSetMthd =3D typeof(ISet).GetMethod("SetY");
		ivTypeBld.DefineMethodOverride(SetMthd,IFSetMthd);


		MethodBuilder GetMthd =3D ivTypeBld.DefineMethod(
			"GetY", =
MethodAttributes.Public|MethodAttributes.Virtual,typeof(int),new =
Type[0]);

		ILGenerator GetMthdIL=3DGetMthd.GetILGenerator();
		GetMthdIL.Emit(OpCodes.Ldarg_0);
		GetMthdIL.Emit(OpCodes.Ldfld,yField);
		GetMthdIL.Emit(OpCodes.Ret);

		MethodInfo IFGetMthd =3D typeof(ISet).GetMethod("GetY");
		ivTypeBld.DefineMethodOverride(GetMthd,IFGetMthd);


		ConstructorBuilder ivCtor0 =3D ivTypeBld.DefineConstructor(
			MethodAttributes.Public,
			CallingConventions.Standard,
			new Type[0] );
		//last string - inpt values types for constructor type[]
		ILGenerator ctorIL0 =3D ivCtor0.GetILGenerator();
		ctorIL0.Emit(OpCodes.Ldarg_0);
		ctorIL0.Emit(OpCodes.Call, objCtor);
		ctorIL0.Emit(OpCodes.Ldarg_0);
		ctorIL0.Emit(OpCodes.Ldc_I4,0);
		ctorIL0.Emit(OpCodes.Stfld, xField);=20
		ctorIL0.Emit(OpCodes.Ldarg_0);
		ctorIL0.Emit(OpCodes.Ldc_I4,0);
		ctorIL0.Emit(OpCodes.Stfld, yField);=20
		ctorIL0.Emit(OpCodes.Ldarg_0);
		ctorIL0.Emit(OpCodes.Ldc_I4,0);
		ctorIL0.Emit(OpCodes.Stfld, zField);=20
		ctorIL0.Emit(OpCodes.Ret);=20

		ConstructorBuilder ivCtor =3D ivTypeBld.DefineConstructor(
			MethodAttributes.Public,
			CallingConventions.Standard,
			new Type[] { typeof(int), typeof(int),  typeof(int)});
		//last string - inpt values types for constructor type[]
		ILGenerator ctorIL =3D ivCtor.GetILGenerator();
		ctorIL.Emit(OpCodes.Ldarg_0);
		ctorIL.Emit(OpCodes.Call, objCtor);
		ctorIL.Emit(OpCodes.Ldarg_0);
		ctorIL.Emit(OpCodes.Ldarg_1);
		ctorIL.Emit(OpCodes.Stfld, xField);=20
		ctorIL.Emit(OpCodes.Ldarg_0);
		ctorIL.Emit(OpCodes.Ldarg_2);
		ctorIL.Emit(OpCodes.Stfld, yField);=20
		ctorIL.Emit(OpCodes.Ldarg_0);
		ctorIL.Emit(OpCodes.Ldarg_3);
		ctorIL.Emit(OpCodes.Stfld, zField);=20
		ctorIL.Emit(OpCodes.Ret);=20


		// This method will find the dot product of the stored vector
		// with another.

		Type[] dpParams =3D new Type[] { ivTypeBld };

		// Here, you create a MethodBuilder containing the
		// name, the attributes (public, static, private, and so on),
		// the return type (int, in this case), and a array of Type
		// indicating the type of each parameter. Since the sole parameter
		// is a IntVector, the very class you're creating, you will
		// pass in the TypeBuilder (which is derived from Type) instead of=20
		// a Type object for IntVector, avoiding an exception.=20

		// -- This method would be declared in C# as:
		//    public int DotProduct(IntVector aVector)

		MethodBuilder dotProductMthd =3D ivTypeBld.DefineMethod(
			"DotProduct", MethodAttributes.Public,typeof(int),dpParams);//Type[] =
dpParams =3D new Type[] { ivTypeBld };

		// A ILGenerator can now be spawned, attached to the MethodBuilder.

		ILGenerator mthdIL =3D dotProductMthd.GetILGenerator();
      =20
		// Here's the body of our function, in MSIL form. We're going to find =
the
		// "dot product" of the current vector instance with the passed vector =

		// instance. For reference purposes, the equation is:
		// (x1 * x2) + (y1 * y2) + (z1 * z2) =3D the dot product

		// First, you'll load the reference to the current instance "this"
		// stored in argument 0 (ldarg.0) onto the stack. Ldfld, the =
subsequent
		// instruction, will pop the reference off the stack and look up the
		// field "x", specified by the FieldInfo token "xField".

		mthdIL.Emit(OpCodes.Ldarg_0);
		mthdIL.Emit(OpCodes.Ldfld, xField);

		// That completed, the value stored at field "x" is now atop the =
stack.
		// Now, you'll do the same for the object reference we passed as a
		// parameter, stored in argument 1 (ldarg.1). After Ldfld executed,
		// you'll have the value stored in field "x" for the passed instance
		// atop the stack.

		mthdIL.Emit(OpCodes.Ldarg_1);
		mthdIL.Emit(OpCodes.Ldfld, xField);

		// There will now be two values atop the stack - the "x" value for the
		// current vector instance, and the "x" value for the passed instance.
		// You'll now multiply them, and push the result onto the evaluation =
stack.

		mthdIL.Emit(OpCodes.Mul_Ovf_Un);

		// Now, repeat this for the "y" fields of both vectors.

		mthdIL.Emit(OpCodes.Ldarg_0);
		mthdIL.Emit(OpCodes.Ldfld, yField);
		mthdIL.Emit(OpCodes.Ldarg_1);
		mthdIL.Emit(OpCodes.Ldfld, yField);
		mthdIL.Emit(OpCodes.Mul_Ovf_Un);

		// At this time, the results of both multiplications should be atop
		// the stack. You'll now add them and push the result onto the stack.

		mthdIL.Emit(OpCodes.Add_Ovf_Un);

		// Multiply both "z" field and push the result onto the stack.
		mthdIL.Emit(OpCodes.Ldarg_0);
		mthdIL.Emit(OpCodes.Ldfld, zField);
		mthdIL.Emit(OpCodes.Ldarg_1);
		mthdIL.Emit(OpCodes.Ldfld, zField);
		mthdIL.Emit(OpCodes.Mul_Ovf_Un);

		// Finally, add the result of multiplying the "z" fields with the
		// result of the earlier addition, and push the result - the dot =
product -
		// onto the stack.
		mthdIL.Emit(OpCodes.Add_Ovf_Un);

		// The "ret" opcode will pop the last value from the stack and return =
it
		// to the calling method. You're all done!

		mthdIL.Emit(OpCodes.Ret);


		Type ivType =3D ivTypeBld.CreateType();

		return ivType;

	}

	public static void Main()=20
	{
   =20
		Type IVType =3D null;
		object aVector1 =3D null;
		object aVector2 =3D null;
		Type[] aVtypes =3D new Type[] {typeof(int), typeof(int), typeof(int)};
		object[] aVargs1 =3D new object[] {10, 10, 10};
		object[] aVargs2 =3D new object[] {20, 20, 20};
   =20
		// Call the  method to build our dynamic class.

		IVType =3D DynamicDotProductGen();

		object testIF=3Dnull;
		testIF=3DSystem.Activator.CreateInstance(IVType);
		((ISet)testIF).SetY(5);

		Console.WriteLine("getting from runtime type =
{0}",((ISet)testIF).GetY());




		Console.WriteLine("---");

		ConstructorInfo myDTctor =3D IVType.GetConstructor(aVtypes);
		aVector1 =3D myDTctor.Invoke(aVargs1);//crash string for Portable.NET =
....
		aVector2 =3D myDTctor.Invoke(aVargs2);

		object[] passMe =3D new object[1];
		passMe[0] =3D (object)aVector2;=20

		//((ISet)aVector2).SetY(10);
		Console.WriteLine("(10, 10, 10) . (20, 20, 20) =3D {0}",
			IVType.InvokeMember("DotProduct",
			BindingFlags.InvokeMethod,
			null,
			aVector1,
			passMe));

       =20

		// +++ OUTPUT +++
		// ---
		// (10, 10, 10) . (20, 20, 20) =3D 600=20
       =20
	}
   =20
}

------=_NextPart_000_000D_01C41C16.1BCB19D0--



From gopalv82@yahoo.com Wed Apr 07 04:41:39 2004
Return-Path: <gopalv82@yahoo.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 9699 invoked from network); 7 Apr 2004 04:41:38 -0000
Received: from unknown (HELO web40007.mail.yahoo.com) (66.218.78.25)
  by 0 with SMTP; 7 Apr 2004 04:41:38 -0000
Message-ID: <20040407052406.24714.qmail@web40007.mail.yahoo.com>
Received: from [66.218.70.89] by web40007.mail.yahoo.com via HTTP; Tue, 06 Apr 2004 22:24:06 PDT
Date: Tue, 6 Apr 2004 22:24:06 -0700 (PDT)
From: Gopal V <gopalv82@yahoo.com>
Subject: Re: [Pnet-developers] Comparing Portable.NET and Microsoft.NET(part 1)
To: ddmk@r66.ru
Cc: pnet-developers@dotgnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Just a minor comment ...

I think you missed a using A; there ..

Gopal
--- ddmk@r66.ru <ddmk@r66.ru> wrote:
> I had compared Portable.NET (framework)(version
0.6.4) and Microsoft.NET
> (framework) under windows (using cygwin) and found
several
> incompatibilities.
> 
> Part1 compiler incompatibilities.
> cscc is great compiler but has some bugs:
> //lib.cs
> using System;
> namespace A
> {
> public class PluginLoader {
>  public static void Main_dll()
>     {
>   Console.WriteLine("hi");}
>     }
> }
> //compiling : cscc -out lib.dll lib.cs
> //ok
> 
> //app.cs
> using System;
> //namespace A //if comment deleted it will work
> //{
> class Test { static void Main(string[] args)
>   {    A.PluginLoader.Main_dll();}
>     }
> //}
> // compiling : cscc -l lib.dll app.cs
> error:
> app.cs:6: `A' is not declared in the current scope
> app.cs:6: `A' is not declared in the current scope
> app.cs:6: invalid left operand to `.'
> app.cs:6: called object is not a method or delegate
> 
> //compiling using Microsoft: csc -r:lib.dll app.cs
> //ok
> possible several next bugs is from cygwin:
> 1) i can't compile to jvm code
> PNET\samples\simple>cscc -mjvm hello.cs
>       3 [main] cscc 496 handle_exceptions:
Exception:
> STATUS_ACCESS_VIOLATION
>     545 [main] cscc 496 open_stackdumpfile: Dumping
stack trace to
> cscc.exe.stackdump
> Exception: STATUS_ACCESS_VIOLATION at eip=00445B13
> eax=00000000 ebx=00000009 ecx=00000000 edx=00000000
esi=101ED2F8
> edi=101EE298
> ebp=0022EB18 esp=0022EAD0
program=D:\Programs\PNET\bin\cscc.exe
> cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
> Stack trace:
> Frame     Function  Args
> 0022EB18  00445B13  (101ED2F8, 00000002, 00000002,
00000002)
> 0022EB48  004466AC  (101ED2F8, 06000001, 0022EBC0,
610908A0)
> 0022EC18  0045C454  (101EE298, 00000000, 0022EC98,
0043767F)
> 0022EC28  004498DF  (101EE298, 00000000, 00004000,
00000096)
> 0022EC98  0043767F  (100333F8, 101EE298, 10025D80,
00000000)
> 0022ED08  0043AC69  (100333F8, 101EE1F8, 00000000,
00000000)
> 0022ED28  0043AE2A  (100333F8, 101ED2F8, 101EDF48,
101ED2F8)
> 0022ED68  004340ED  (100333F8, 101ED2F8, 101F4850,
000001B6)
> 0022EDB8  00434395  (100333F8, 10021CB0, 10021E9C,
00000000)
> 0022EE98  00432CE6  (00000001, 10021DD8, 00000000,
00000000)
> 0022EED8  0040376D  (10021CC8, 00000001, 00401062,
00000001)
> 0022EF10  004012F0  (00000003, 100201C8, 100200A8,
00000001)
> 0022EF80  61005DE0  (0022EF98, FFFFFFFF, 00000000,
00245728)
> 0022FF90  61005EE5  (00000000, 00000000, 00000000,
00000000)
> End of stack trace
> 
> 2)when cscc create exe file on ntfs file system it
sets permission ONLY READ
> AND WRITE
> and NO execute permission.
> so if you try to start exe you'll see "Access
Denied."
> 
> Can you make wrapper csc tool with same keys as
microsoft csc and only for
> compiling cs files (as microsoft csc)?
> when build string will be same and comparing of
compilers will be more
> easily
> 
> 
> part 2 (in next letter ) about incopatibilities in
class system (Emit
> namespace).
> 
=== Message Truncated === 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

From gopalv82@yahoo.com Sun Apr 11 05:51:44 2004
Return-Path: <gopalv82@yahoo.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 20680 invoked from network); 11 Apr 2004 05:51:43 -0000
Received: from unknown (HELO web40001.mail.yahoo.com) (66.218.78.19)
  by 0 with SMTP; 11 Apr 2004 05:51:43 -0000
Message-ID: <20040411063352.2755.qmail@web40001.mail.yahoo.com>
Received: from [61.1.228.122] by web40001.mail.yahoo.com via HTTP; Sat, 10 Apr 2004 23:33:52 PDT
Date: Sat, 10 Apr 2004 23:33:52 -0700 (PDT)
From: Gopal V <gopalv82@yahoo.com>
Subject: Re: [Pnet-developers] back to Emit problems
To: Dmitriy <ddmk@r66.ru>, pnet-developers@dotgnu.org
In-Reply-To: <001001c41be3$d1462da0$0202a8c0@dima>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,
--- Dmitriy <ddmk@r66.ru> wrote:
> ilrun a.exe
> 
> Uncaught exception:
> System.EntryPointNotFoundException: Entry point was
> not
> found

Dynamically generated methods can still not be called 
directly with pnet right now... Reflection.Emit still 
needs a lot of work (and someone to do it). Rich333 
who did most of the Re.Emit work is now busy with 
System.Xml .

I'll be back on pnetlib only next saturday ... I'll 
have a good long look at this .

Gopal

__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

From savannah-root@gnu.org Mon Apr 12 16:44:58 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 30638 invoked from network); 12 Apr 2004 16:44:58 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 12 Apr 2004 16:44:58 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BD5DB-00071L-Se
	for pnet-developers@dotgnu.org; Mon, 12 Apr 2004 13:27:09 -0400
From: "Andre Seidelt" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8545
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821
X-Apparently-From: 212.202.168.202
X-Copy-To: Array
Message-Id: <E1BD5DB-00071L-Se@savannah.gnu.org>
Date: Mon, 12 Apr 2004 13:27:09 -0400
Subject: [Pnet-developers] [bugs #8545] Serialization fails
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #8545] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8545>
Project: DotGNU Portable.NET
Submitted by: Andre Seidelt
On: Mon 04/12/04 at 17:27

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Serialization fails

Original Submission:  When serializing an Object containing String members the
serialization fails because the code tries to write the
null-value as String.

Attached are:
1) a testcase
2) a patch I did which works arround this (serialization still fails because the contens of the written file is wrong)






File Attachments
-------------------

-------------------------------------------------------
Date: Mon 04/12/04 at 17:27  Name: TestWriter.cs  Size: 1KB   By: Ilu
Testcase
http://savannah.gnu.org/bugs/download.php?item_id=8545&amp;item_file_id=1188






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8545>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Mon Apr 12 16:59:21 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 530 invoked from network); 12 Apr 2004 16:59:21 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 12 Apr 2004 16:59:21 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BD5R7-0007vZ-HK
	for pnet-developers@dotgnu.org; Mon, 12 Apr 2004 13:41:33 -0400
From: "Andre Seidelt" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8546
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821
X-Apparently-From: 212.202.168.202
X-Copy-To: Array
Message-Id: <E1BD5R7-0007vZ-HK@savannah.gnu.org>
Date: Mon, 12 Apr 2004 13:41:33 -0400
Subject: [Pnet-developers] [bugs #8546] Deserialization fails
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #8546] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8546>
Project: DotGNU Portable.NET
Submitted by: Andre Seidelt
On: Mon 04/12/04 at 17:41

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Deserialization fails

Original Submission:  The binary representation of serialized objects seems to
be wrong.
attached is a testcase and the results when running this
testcase on Mono, MS.NET and Pnet (as binary and as hexdump).
The Pnet files are shorter than the other ones, so I guess
there is something missing when serializing data.

Pnet and Mono was run on latest from CVS.

Pnet output was created using the patch from bug #8545.






File Attachments
-------------------

-------------------------------------------------------
Date: Mon 04/12/04 at 17:41  Name: output.tar.gz  Size: 904KB   By: Ilu
the output from running the testcase
http://savannah.gnu.org/bugs/download.php?item_id=8546&amp;item_file_id=1190






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8546>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From ktreichel@web.de Tue Apr 13 05:45:45 2004
Return-Path: <ktreichel@web.de>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 23752 invoked from network); 13 Apr 2004 05:45:45 -0000
Received: from unknown (HELO smtp.web.de) (217.72.192.224)
  by 0 with SMTP; 13 Apr 2004 05:45:45 -0000
Received: from [217.83.187.25] (helo=[192.168.123.100])
	by smtp.web.de with asmtp (WEB.DE 4.101 #91)
	id 1BDHOa-0006BV-00
	for pnet-developers@dotgnu.org; Tue, 13 Apr 2004 08:27:44 +0200
From: Klaus Treichel <ktreichel@web.de>
Reply-To: ktreichel@web.de
To: Pnet Developers <pnet-developers@dotgnu.org>
Content-Type: text/plain
Organization: privat
Message-Id: <1081837633.3726.7.camel@nbkt.ktreichel.local>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 13 Apr 2004 08:27:14 +0200
Content-Transfer-Encoding: 7bit
Sender: ktreichel@web.de
Subject: [Pnet-developers] patch to build ml-pnet
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,

i have submitted a patch to build ml-pnet (current CVS version of pnet
and mcs) in savannah Item-Id: 2935.

Some remarks to handle discovered cscc problems are attached.

Regards

Klaus




From pnet-devel01@foobarquarium.de Thu Apr 15 18:04:45 2004
Return-Path: <pnet-devel01@foobarquarium.de>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 14805 invoked from network); 15 Apr 2004 18:04:44 -0000
Received: from unknown (HELO obh.snafu.de) (213.73.92.34)
  by 0 with SMTP; 15 Apr 2004 18:04:44 -0000
Received: from port-212-202-168-197.dynamic.qsc.de ([212.202.168.197] helo=luthien.iluathome.org)
	by obh.snafu.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 4.31; FreeBSD)
	id 1BEBsS-000MQh-LS
	for pnet-developers@dotgnu.org; Thu, 15 Apr 2004 20:46:31 +0200
From: Andre 'Ilu' Seidelt <pnet-devel01@foobarquarium.de>
To: PNET <pnet-developers@dotgnu.org>
Date: Thu, 15 Apr 2004 20:47:04 +0200
User-Agent: KMail/1.5.4
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200404152047.04957.pnet-devel01@foobarquarium.de>
X-Spam-Score: 0.9 (/)
X-Spam-Flag: NO
Subject: [Pnet-developers] description of binary serialization format
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,

anybody knows where to find the stuff mentioned in the subject?
I had no luck with ECMA 334/335 and googling helped neither...

I wanna have a look at the Pnet serialization because I really,
really need it :-)

regards
	Ilu


From ddmk@r66.ru Thu Apr 15 18:31:46 2004
Return-Path: <ddmk@r66.ru>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 18871 invoked from network); 15 Apr 2004 18:31:46 -0000
Received: from unknown (HELO mail2.utnet.ru) (195.12.66.2)
  by 0 with SMTP; 15 Apr 2004 18:31:46 -0000
Received: by mail2.utnet.ru (Postfix, from userid 426)
	id 202EDB06574; Fri, 16 Apr 2004 01:13:33 +0600 (YEKST)
Received: from dima (unknown [195.12.65.162])
	by mail2.utnet.ru (Postfix) with SMTP id EC00FB064EB
	for <pnet-developers@dotgnu.org>; Fri, 16 Apr 2004 01:13:32 +0600 (YEKST)
Message-ID: <002001c4231d$be875360$0202a8c0@dima>
From: "Dmitriy" <ddmk@r66.ru>
To: <pnet-developers@dotgnu.org>
Date: Fri, 16 Apr 2004 01:13:32 +0600
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_001D_01C42350.09136B80"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Subject: [Pnet-developers] Problems with MarshalAs or/and InteropServices Function Table (Delegates)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a multi-part message in MIME format.

------=_NextPart_000_001D_01C42350.09136B80
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit

Description of Problem:
When Marhaling to native code of functions table error appears.

source sample:

//testdll.dll c++ source
#include "stdio.h"

#define _DLL_EXPORT extern "C" __declspec( dllexport )

typedef void (__stdcall *call_back_type)();
//typedef void (__cdecl *call_back_type)();
struct TD
{
 int type;
 call_back_type t;
//here may be other functions
};

_DLL_EXPORT  void* test(void *o,int i,TD t)
{
 printf("%x %d %d\n",(unsigned long)o,i,t.type);
 t.t();
 return o;
}
//end of testdll.dll source
//test.exe C# source
using System;
using System.Runtime.InteropServices;
namespace testch
{
 class Class1
 {
  [ StructLayout( LayoutKind.Sequential )]
  public struct delegate_wrapper
  {
   public int type;
   public delegate void CTest();
     [MarshalAs(UnmanagedType.FunctionPtr)] public CTest Test;
   static void WTest()
   { Console.WriteLine("test"); }

//here may be other functions with params...

   internal delegate_wrapper(int _type)
   {
    type=_type;//fill this !!!
    Test=new CTest(WTest);
   }
  }

  [DllImport("testdll.dll")]
 public static extern void  test(int a,int i,delegate_wrapper c);
  [DllImport("testdll.dll",EntryPoint="test")]
public static extern void  test2(int a,int i,int
         type,delegate_wrapper.CTest c);


  static void Main(string[] args)
  {
   delegate_wrapper t=new delegate_wrapper(10);
   test(10,5,t); //correct way but not work Under
//MONO and Portable.NET
   //test2(10,5,t.type,t.Test);
//Incorrect way but work anywhere
  }
 }
}

Actual Results:

Exception: STATUS_ACCESS_VIOLATION at eip=10227FE8
eax=00000007 ebx=01131000 ecx=0113107A edx=0113AE68 esi=0000000A
edi=10035014
ebp=0022EAA8 esp=0022EA8C program=D:\Programs\PNET\bin\ilrun.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022EAA8  10227FE8  (004BDC10, 0022EAD0, 00000010, 00000000)
0022EAE8  004BDE3F  (10098398, 01131000, 00000000, 0022ED50)
0022EDF8  00425796  (10034F60, 1007C6B8, 00000000, 00000000)
0022EE28  00412A1A  (10034F60, 1007C6B8, 00412800, 0022EED8)
0022EE58  00412E86  (10034F60, 1007C6B8, 0022EED8, 0022EEE8)
0022EF10  00401D0E  (00000002, 100201C8, 100200A8, 00000001)
0022EF80  61005DE0  (0022EF98, FFFFFFFF, 00000000, 00245780)
0022FF90  61005EE5  (00000000, 00000000, 00000000, 00000000)
End of stack trace

Expected Results:
"
a 5 10
test
"
without exceptions and errors

How often does this happen?
everytime

Additional Information:

compile strings (microsoft compilers used):
cl /LD testdll.cpp
csc test.cs
run strings:
mono test.exe

------=_NextPart_000_001D_01C42350.09136B80
Content-Type: text/plain;
	name="test.cs"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="test.cs"

using System;
using System.Runtime.InteropServices;
namespace testch
{
 class Class1
 {
  [ StructLayout( LayoutKind.Sequential )]
  public struct delegate_wrapper
  {
   public int type;
   public delegate void CTest();
     [MarshalAs(UnmanagedType.FunctionPtr)] public CTest Test;
   static void WTest()
   { Console.WriteLine("test"); }

//here may be other functions with params...

   internal delegate_wrapper(int _type)
   {
    type=_type;
    Test=new CTest(WTest);
   }
  }

  [DllImport("testdll.dll")]
 public static extern void  test(int a,int i,delegate_wrapper c);
  [DllImport("testdll.dll",EntryPoint="test")]
public static extern void  test2(int a,int i,int
         type,delegate_wrapper.CTest c);


  static void Main(string[] args)
  {
   delegate_wrapper t=new delegate_wrapper(10);
   test(10,5,t); //correct way but not work Under MONO and Portable.NET
   //test2(10,5,t.type,t.Test); //Incorrect way but work anywhere
  }
 }
}

------=_NextPart_000_001D_01C42350.09136B80
Content-Type: text/plain;
	name="testdll.cpp"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="testdll.cpp"

#include "stdio.h"

#define _DLL_EXPORT extern "C" __declspec( dllexport )

typedef void (__stdcall *call_back_type)();
//typedef void (__cdecl *call_back_type)();
struct TD
{
 int type;
 call_back_type t;
//here may be other functions
};

_DLL_EXPORT  void* test(void *o,int i,TD t)
{
 printf("%x %d %d\n",(unsigned long)o,i,t.type);
 t.t();
 return o;
}

------=_NextPart_000_001D_01C42350.09136B80--


From savannah-root@gnu.org Thu Apr 15 21:47:13 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 21649 invoked from network); 15 Apr 2004 21:47:13 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 15 Apr 2004 21:47:13 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BEFM5-0008Fq-Tr
	for pnet-developers@dotgnu.org; Thu, 15 Apr 2004 18:29:09 -0400
From: "Russell Stuart" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8463
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021224
X-Apparently-From: 203.113.210.229
X-Copy-To: Array
Message-Id: <E1BEFM5-0008Fq-Tr@savannah.gnu.org>
Date: Thu, 15 Apr 2004 18:29:09 -0400
Subject: [Pnet-developers] [bugs #8463] Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8463] Latest Modifications:

Changes by: 
		Russell Stuart <russell-savannah@stuart.id.au>
'Date: 
		Thu 04/15/04 at 22:29 (Australia/Brisbane)

------------------ Additional Follow-up Comments ----------------------------
The patch I submitted was broken.







/**************************************************************************/
[bugs #8463] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8463>
Project: DotGNU Portable.NET
Submitted by: Russell Stuart
On: Tue 04/06/04 at 08:47

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun

Original Submission:  This standlone program:
  class X {
    static void Main() {
      System.Threading.Monitor.Wait(typeof(X));
    }
  }
causes a segmentation fault in ilrun.  It should throw a System.Threading.SynchronizationLockException.


Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 04/15/04 at 22:29         By: rstuart
The patch I submitted was broken.


-------------------------------------------------------
Date: Tue 04/06/04 at 09:10         By: rstuart
Attached is a suggested fix to the problem.  Please check _carefully_.







File Attachments
-------------------

-------------------------------------------------------
Date: Tue 04/06/04 at 09:10  Name: MonitorWait.patch  Size: 1KB   By: rstuart
diff -Nur
http://savannah.gnu.org/bugs/download.php?item_id=8463&amp;item_file_id=1172






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8463>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Fri Apr 16 01:49:57 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 13537 invoked from network); 16 Apr 2004 01:49:56 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 16 Apr 2004 01:49:56 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BEJ8q-000746-65
	for pnet-developers@dotgnu.org; Thu, 15 Apr 2004 22:31:44 -0400
From: "anonymous" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:80 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8588
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 1.0.3705)
X-Apparently-From: 194.226.237.121
X-Copy-To: Array
Message-Id: <E1BEJ8q-000746-65@savannah.gnu.org>
Date: Thu, 15 Apr 2004 22:31:44 -0400
Subject: [Pnet-developers] [bugs #8588] Problems with MarshalAs or/and InteropServices Function Table (Delegates)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #8588] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8588>
Project: DotGNU Portable.NET
Submitted by: 0
On: Thu 04/15/04 at 22:31

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Problems with MarshalAs or/and InteropServices Function Table (Delegates)

Original Submission:  When Marhaling to native code of functions table error appears.
Actual Results:

Exception: STATUS_ACCESS_VIOLATION at eip=10227FE8
eax=00000007 ebx=01131000 ecx=0113107A edx=0113AE68 esi=0000000A
edi=10035014
ebp=0022EAA8 esp=0022EA8C program=D:ProgramsPNETbinilrun.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022EAA8  10227FE8  (004BDC10, 0022EAD0, 00000010, 00000000)
0022EAE8  004BDE3F  (10098398, 01131000, 00000000, 0022ED50)
0022EDF8  00425796  (10034F60, 1007C6B8, 00000000, 00000000)
0022EE28  00412A1A  (10034F60, 1007C6B8, 00412800, 0022EED8)
0022EE58  00412E86  (10034F60, 1007C6B8, 0022EED8, 0022EEE8)
0022EF10  00401D0E  (00000002, 100201C8, 100200A8, 00000001)
0022EF80  61005DE0  (0022EF98, FFFFFFFF, 00000000, 00245780)
0022FF90  61005EE5  (00000000, 00000000, 00000000, 00000000)
End of stack trace

Expected Results:
"
a 5 10
test
"
without exceptions and errors

How often does this happen?
everytime

Additional Information:

compile strings (microsoft compilers used):
cl /LD testdll.cpp
csc test.cs
run strings:
mono test.exe






File Attachments
-------------------

-------------------------------------------------------
Date: Thu 04/15/04 at 22:31  Name: testdll.cpp  Size: 375KB   By: None
Source of bug demonstration sample (dll)
http://savannah.gnu.org/bugs/download.php?item_id=8588&amp;item_file_id=1197






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8588>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Fri Apr 16 03:23:25 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 24942 invoked from network); 16 Apr 2004 03:23:25 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 16 Apr 2004 03:23:25 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BEKbP-0005Xu-5A
	for pnet-developers@dotgnu.org; Fri, 16 Apr 2004 00:05:19 -0400
From: "Russell Stuart" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8463
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021224
X-Apparently-From: 203.113.210.229
X-Copy-To: Array
Message-Id: <E1BEKbP-0005Xu-5A@savannah.gnu.org>
Date: Fri, 16 Apr 2004 00:05:19 -0400
Subject: [Pnet-developers] [bugs #8463] Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8463] Latest Modifications:

Changes by: 
		Russell Stuart <russell-savannah@stuart.id.au>
'Date: 
		Fri 04/16/04 at 04:05 (Australia/Brisbane)

------------------ Additional Follow-up Comments ----------------------------
This is the gdb backtrace:
#0  _IL_Interlocked_Increment_Ri (thread=0x8126f60, location=0x4) at lib_thread.c:898
#1  0x08068cd8 in _IL_Monitor_InternalWait (thread=0x8126f60, objnv=0x8153ff8, timeout=-1)
    at lib_thread.c:454
#2  0x080c5473 in ffi_call_SYSV () at /tmp/cctF7x6P.s:40
#3  0x080c5439 in ffi_raw_call (cif=0x1, fn=0x8068ca0 <_IL_Monitor_InternalWait>, rvalue=0x1,
    fake_avalue=0x0) at src/x86/ffi.c:515
#4  0x080856cb in _ILCVMInterpreter (thread=0x8126f60) at cvm_call.c:665
#5  0x0804c294 in _ILCallMethod (thread=0x8126f60, method=0x400152c4,
    unpack=0x804c108 <_ILCallUnpackVResult>, result=0xbfffef90, isCtor=0, _this=0x0,
    pack=0x804be50 <_ILCallPackVParams>, userData=0xbfffefa0) at call.c:706
#6  0x0804c579 in ILExecThreadCallV (thread=0x8126f60, method=0x400152c4, result=0xbfffef90,
    args=0xbfffefa0) at call.c:928
#7  0x0804ba1f in main (argc=2, argv=0xbffff024) at ilrun.c:464
#8  0x400e04ed in __libc_start_main () from /lib/libc.so.6







/**************************************************************************/
[bugs #8463] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8463>
Project: DotGNU Portable.NET
Submitted by: Russell Stuart
On: Tue 04/06/04 at 08:47

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun

Original Submission:  This standlone program:
  class X {
    static void Main() {
      System.Threading.Monitor.Wait(typeof(X));
    }
  }
causes a segmentation fault in ilrun.  It should throw a System.Threading.SynchronizationLockException.


Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 04/16/04 at 04:05         By: rstuart
This is the gdb backtrace:
#0  _IL_Interlocked_Increment_Ri (thread=0x8126f60, location=0x4) at lib_thread.c:898
#1  0x08068cd8 in _IL_Monitor_InternalWait (thread=0x8126f60, objnv=0x8153ff8, timeout=-1)
    at lib_thread.c:454
#2  0x080c5473 in ffi_call_SYSV () at /tmp/cctF7x6P.s:40
#3  0x080c5439 in ffi_raw_call (cif=0x1, fn=0x8068ca0 <_IL_Monitor_InternalWait>, rvalue=0x1,
    fake_avalue=0x0) at src/x86/ffi.c:515
#4  0x080856cb in _ILCVMInterpreter (thread=0x8126f60) at cvm_call.c:665
#5  0x0804c294 in _ILCallMethod (thread=0x8126f60, method=0x400152c4,
    unpack=0x804c108 <_ILCallUnpackVResult>, result=0xbfffef90, isCtor=0, _this=0x0,
    pack=0x804be50 <_ILCallPackVParams>, userData=0xbfffefa0) at call.c:706
#6  0x0804c579 in ILExecThreadCallV (thread=0x8126f60, method=0x400152c4, result=0xbfffef90,
    args=0xbfffefa0) at call.c:928
#7  0x0804ba1f in main (argc=2, argv=0xbffff024) at ilrun.c:464
#8  0x400e04ed in __libc_start_main () from /lib/libc.so.6


-------------------------------------------------------
Date: Thu 04/15/04 at 22:29         By: rstuart
The patch I submitted was broken.


-------------------------------------------------------
Date: Tue 04/06/04 at 09:10         By: rstuart
Attached is a suggested fix to the problem.  Please check _carefully_.













For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8463>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Sun Apr 18 14:53:26 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 26620 invoked from network); 18 Apr 2004 14:53:26 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 18 Apr 2004 14:53:26 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BFEK4-00048G-C8
	for pnet-developers@dotgnu.org; Sun, 18 Apr 2004 11:35:08 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 6999
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BFEK4-00048G-C8@savannah.gnu.org>
Date: Sun, 18 Apr 2004 11:35:08 -0400
Subject: [Pnet-developers] [bugs #6999] C# using-alias-directive broken for namespaces
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #6999] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Sun 04/18/04 at 15:35 (Asia/Calcutta)

------------------ Additional Follow-up Comments ----------------------------
Fix committed to CVS on 18th April 2004 . 

The without using bug is bug #8225 and will be fixed seperately






/**************************************************************************/
[bugs #6999] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=6999>
Project: DotGNU Portable.NET
Submitted by: Tony Garnock-Jones
On: Sun 12/28/03 at 00:12

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  C# using-alias-directive broken for namespaces

Original Submission:  Code such as the following (where Shared.Service is a class) will not compile (I've attached a small test case that helps narrow down the problem), whereas it does compile on MS.NET and Mono:

using S = Shared;
public class Main {
    public static void Main() {
	S.Service s = new S.Service();
	s.Hi();
    }
}


Follow-up Comments
------------------


-------------------------------------------------------
Date: Sun 04/18/04 at 15:35         By: t3rmin4t0r
Fix committed to CVS on 18th April 2004 . 

The without using bug is bug #8225 and will be fixed seperately

-------------------------------------------------------
Date: Sun 12/28/03 at 01:14         By: surazal
Yet another refinement (...-3.tar.gz) - checking what happens with aliases of classes containing inner classes. Turns out to be the same problem. (Although I'm not sure whether this is supposed to work or not according to the ECMA spec, and I don't have mono or MS.NET handy here at home to test this third set of test cases.)

-------------------------------------------------------
Date: Sun 12/28/03 at 01:08         By: surazal
Here's a new test case that pins it down even further (using-directive-2.tar.gz). Referring to S.Inner.S2 gives a different set of messages than referring to S.Service. The only nontrivial difference between the classes is that one is inside another namespace layer.






File Attachments
-------------------

-------------------------------------------------------
Date: Sun 12/28/03 at 01:14  Name: using-directive-3.tar.gz  Size: 679KB   By: surazal
Further refinement, checking aliases of classes containing inner classes
http://savannah.gnu.org/bugs/download.php?item_id=6999&amp;item_file_id=912

-------------------------------------------------------
Date: Sun 12/28/03 at 01:08  Name: using-directive-2.tar.gz  Size: 626KB   By: surazal
Refined test cases
http://savannah.gnu.org/bugs/download.php?item_id=6999&amp;item_file_id=911

-------------------------------------------------------
Date: Sun 12/28/03 at 00:12  Name: using-directive.tar.gz  Size: 561KB   By: surazal
Test case with three examples, two working, one broken
http://savannah.gnu.org/bugs/download.php?item_id=6999&amp;item_file_id=910






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=6999>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Mon Apr 19 12:49:55 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 32535 invoked from network); 19 Apr 2004 12:49:55 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 19 Apr 2004 12:49:55 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BFYs0-0008U7-O6
	for pnet-developers@dotgnu.org; Mon, 19 Apr 2004 09:31:32 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 5806
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BFYs0-0008U7-O6@savannah.gnu.org>
Date: Mon, 19 Apr 2004 09:31:32 -0400
Subject: [Pnet-developers] [bugs #5806] Alias for Namespace is not handled as in MS .NET 1.0 or 1.1
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #5806] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Mon 04/19/04 at 13:31 (Asia/Calcutta)

------------------ Additional Follow-up Comments ----------------------------
Fixed in CVS on 19th April 2004






/**************************************************************************/
[bugs #5806] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=5806>
Project: DotGNU Portable.NET
Submitted by: Klaus Treichel
On: Wed 10/08/03 at 13:50

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Alias for Namespace is not handled as in MS .NET 1.0 or 1.1

Original Submission:  It is not possible to use a namespace alias to overwrite the main namespace. That is needed if a namespace with the same name exists in the current or an other imported assambly. 

Example:

using DotNet_System = System;

namespace TestCompile.System
{
   class TestClass : DotNet_System.Object
   {
      static void Main(string[] args)
      {
      }
   }
}

with pnet cscc the following errors occure:

Class1.cs:5: `DotNet_System' is not declared in the current scope
Class1.cs:6: invalid left operand to `.'
Class1.cs:6: invalid base type

With MS csc this example compiles without errors 



Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 04/19/04 at 13:31         By: t3rmin4t0r
Fixed in CVS on 19th April 2004












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=5806>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Mon Apr 19 13:25:29 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 12514 invoked from network); 19 Apr 2004 13:25:29 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 19 Apr 2004 13:25:29 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BFZQQ-0002Cs-Ik
	for pnet-developers@dotgnu.org; Mon, 19 Apr 2004 10:07:06 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8225
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BFZQQ-0002Cs-Ik@savannah.gnu.org>
Date: Mon, 19 Apr 2004 10:07:06 -0400
Subject: [Pnet-developers] [bugs #8225] Full name resolution while referencing already compiled types
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8225] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Mon 04/19/04 at 14:07 (Asia/Calcutta)

------------------ Additional Follow-up Comments ----------------------------
Fixed in cvs - 19th April 2004






/**************************************************************************/
[bugs #8225] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8225>
Project: DotGNU Portable.NET
Submitted by: Gopal.V
On: Sat 03/20/04 at 15:00

Category:  None
Severity:  1 - None
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Full name resolution while referencing already compiled types

Original Submission:  The bug is such that

bar.dll contains Foo.Bar type

which is not accessible for test.cs without a corresponding
"using Foo" even when used as "Foo.Bar b = null;"

Test case attached.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 04/19/04 at 14:07         By: t3rmin4t0r
Fixed in cvs - 19th April 2004






File Attachments
-------------------

-------------------------------------------------------
Date: Sat 03/20/04 at 15:00  Name: full-ns.tgz  Size: 867KB   By: t3rmin4t0r
Test case
http://savannah.gnu.org/bugs/download.php?item_id=8225&amp;item_file_id=1122






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8225>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Mon Apr 19 13:25:53 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 12540 invoked from network); 19 Apr 2004 13:25:53 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 19 Apr 2004 13:25:53 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BFZQo-0002Es-T3
	for pnet-developers@dotgnu.org; Mon, 19 Apr 2004 10:07:30 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8225
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BFZQo-0002Es-T3@savannah.gnu.org>
Date: Mon, 19 Apr 2004 10:07:30 -0400
Subject: [Pnet-developers] [bugs #8225] Full name resolution while referencing already compiled types
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8225] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Mon 04/19/04 at 14:07 (Asia/Calcutta)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed in cvs - 19th April 2004






/**************************************************************************/
[bugs #8225] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8225>
Project: DotGNU Portable.NET
Submitted by: Gopal.V
On: Sat 03/20/04 at 15:00

Category:  None
Severity:  1 - None
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


Summary:  Full name resolution while referencing already compiled types

Original Submission:  The bug is such that

bar.dll contains Foo.Bar type

which is not accessible for test.cs without a corresponding
"using Foo" even when used as "Foo.Bar b = null;"

Test case attached.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 04/19/04 at 14:07         By: t3rmin4t0r
Fixed in cvs - 19th April 2004

-------------------------------------------------------
Date: Mon 04/19/04 at 14:07         By: t3rmin4t0r
Fixed in cvs - 19th April 2004






File Attachments
-------------------

-------------------------------------------------------
Date: Sat 03/20/04 at 15:00  Name: full-ns.tgz  Size: 867KB   By: t3rmin4t0r
Test case
http://savannah.gnu.org/bugs/download.php?item_id=8225&amp;item_file_id=1122






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8225>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Mon Apr 19 13:38:33 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 14581 invoked from network); 19 Apr 2004 13:38:33 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 19 Apr 2004 13:38:33 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BFZd4-0002xS-B8
	for pnet-developers@dotgnu.org; Mon, 19 Apr 2004 10:20:10 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 5806
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BFZd4-0002xS-B8@savannah.gnu.org>
Date: Mon, 19 Apr 2004 10:20:10 -0400
Subject: [Pnet-developers] [bugs #5806] Alias for Namespace is not handled as in MS .NET 1.0 or 1.1
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #5806] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Mon 04/19/04 at 14:19 (Asia/Calcutta)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed







/**************************************************************************/
[bugs #5806] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=5806>
Project: DotGNU Portable.NET
Submitted by: Klaus Treichel
On: Wed 10/08/03 at 13:50

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


Summary:  Alias for Namespace is not handled as in MS .NET 1.0 or 1.1

Original Submission:  It is not possible to use a namespace alias to overwrite the main namespace. That is needed if a namespace with the same name exists in the current or an other imported assambly. 

Example:

using DotNet_System = System;

namespace TestCompile.System
{
   class TestClass : DotNet_System.Object
   {
      static void Main(string[] args)
      {
      }
   }
}

with pnet cscc the following errors occure:

Class1.cs:5: `DotNet_System' is not declared in the current scope
Class1.cs:6: invalid left operand to `.'
Class1.cs:6: invalid base type

With MS csc this example compiles without errors 



Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 04/19/04 at 13:31         By: t3rmin4t0r
Fixed in CVS on 19th April 2004












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=5806>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Tue Apr 20 10:51:58 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 16385 invoked from network); 20 Apr 2004 10:51:58 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 20 Apr 2004 10:51:58 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BFtVL-00052F-AC
	for pnet-developers@dotgnu.org; Tue, 20 Apr 2004 07:33:31 -0400
From: "Klaus Treichel" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:80 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8629
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
X-Apparently-From: 217.83.191.142
X-Copy-To: Array
Message-Id: <E1BFtVL-00052F-AC@savannah.gnu.org>
Date: Tue, 20 Apr 2004 07:33:31 -0400
Subject: [Pnet-developers] [bugs #8629] Type resolution not correct if property with name of class exists
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #8629] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8629>
Project: DotGNU Portable.NET
Submitted by: Klaus Treichel
On: Tue 04/20/04 at 11:33

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Type resolution not correct if property with name of class exists

Original Submission:  The call to static functions of a class do not compile if there exists a property with the name of the class.

See property Type in attaches file.

The file compiles with MS .Net 1.1 but with cscc i get the following error:

$ cscc testcscc_1.cs
testcscc_1.cs:15: no matching method for call to `GetType(System.String, bool)'
testcscc_1.cs:15: incompatible types in assignment: no conversion from `invalid
type' to `System.Type'

The error occures when i tried to build mono's System.Web assemly with pnet.






File Attachments
-------------------

-------------------------------------------------------
Date: Tue 04/20/04 at 11:33  Name: testcscc_1.cs  Size: 383KB   By: ktreichel
testcase to verify the wrong behavoiur
http://savannah.gnu.org/bugs/download.php?item_id=8629&amp;item_file_id=1207






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8629>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From ktreichel@web.de Tue Apr 20 11:46:37 2004
Return-Path: <ktreichel@web.de>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 24507 invoked from network); 20 Apr 2004 11:46:36 -0000
Received: from unknown (HELO smtp.web.de) (217.72.192.225)
  by 0 with SMTP; 20 Apr 2004 11:46:36 -0000
Received: from [217.83.191.142] (helo=[192.168.123.100])
	by smtp.web.de with asmtp (WEB.DE 4.101 #91)
	id 1BFuM5-00082S-00
	for pnet-developers@dotgnu.org; Tue, 20 Apr 2004 14:28:01 +0200
From: Klaus Treichel <ktreichel@web.de>
Reply-To: ktreichel@web.de
To: Pnet Developers <pnet-developers@dotgnu.org>
Content-Type: text/plain
Organization: privat
Message-Id: <1082464040.3753.4.camel@nbkt.ktreichel.local>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 20 Apr 2004 14:27:20 +0200
Content-Transfer-Encoding: 7bit
Sender: ktreichel@web.de
Subject: [Pnet-developers] Patch to make System.Xml/Xsl/XslTransform DotNet 1.1
 signaturecompatible
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,

i have submitted a patch [2953] for System.Xml/Xsl/XslTransform.cs.

This one is needed to compile monos System.Web.

Regards

Klaus



From thorin1@genie.co.uk Tue Apr 20 15:57:50 2004
Return-Path: <thorin1@genie.co.uk>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 3902 invoked from network); 20 Apr 2004 15:57:50 -0000
Received: from unknown (HELO serlinux15.essex.ac.uk) (155.245.42.3)
  by 0 with SMTP; 20 Apr 2004 15:57:50 -0000
Received: from so-19740-x0.essex.ac.uk ([155.245.123.35] helo=07695)
	by serlinux15.essex.ac.uk with smtp (Exim 4.24)
	id 1BFyGi-0004mM-DU
	for pnet-developers@dotgnu.org; Tue, 20 Apr 2004 17:38:44 +0100
From: "Alex Stephens" <thorin1@genie.co.uk>
To: pnet-developers@dotgnu.org
Date: Tue, 20 Apr 2004 17:38:51 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <E1BFyGi-0004mM-DU@serlinux15.essex.ac.uk>
X-Essex-MailScanner-Information: Please contact the ISP for more information
X-Essex-MailScanner: Found to be clean
X-Essex-MailScanner-SpamCheck: not spam (whitelisted),
	SpamAssassin (score=3.31, required 5, MSGID_FROM_MTA_SHORT 3.31)
Subject: [Pnet-developers] __gc arrays
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,

I'm trying to use cscc to do bounds checking and garbage collection on =
C program arrays=2E In visual c++ =2Enet, this can be done with the __g=
c keyword e=2Eg:
int array[] =3D __gc new int[10];
Could someone tell me if cscc supports __gc arrays or is there another =
way of using standard C++ subscripting on managed arrays?

Thanks,
Alex Stephens

From savannah-root@gnu.org Wed Apr 21 10:22:25 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 7630 invoked from network); 21 Apr 2004 10:22:25 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 21 Apr 2004 10:22:25 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BGFWC-0000D9-U6
	for pnet-developers@dotgnu.org; Wed, 21 Apr 2004 07:03:52 -0400
From: "anonymous" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:80 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8638
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 155.245.123.35
X-Copy-To: Array
Message-Id: <E1BGFWC-0000D9-U6@savannah.gnu.org>
Date: Wed, 21 Apr 2004 07:03:53 -0400
Subject: [Pnet-developers] [bugs #8638] managed arrays in C compiler
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #8638] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8638>
Project: DotGNU Portable.NET
Submitted by: 0
On: Wed 04/21/04 at 11:03

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  managed arrays in C compiler

Original Submission:  The following declare managed arrays:

__box int array[]=new __box int[10];
int array __gc[] = __gc new int[10];

but then don't work with ordinary C subscripting i.e.

array[0]=0;

gives "subscripted value is neither array nor pointer" compiler error in both cases.











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8638>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From ktreichel@web.de Wed Apr 21 17:07:42 2004
Return-Path: <ktreichel@web.de>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 16396 invoked from network); 21 Apr 2004 17:07:41 -0000
Received: from unknown (HELO mailgate5.web.de) (217.72.192.165)
  by 0 with SMTP; 21 Apr 2004 17:07:41 -0000
Received: by mailgate5.web.de (8.11.6p2/8.11.2/SuSE Linux 8.11.0-0.4) with SMTP id i3LHmx414680
	for pnet-developers@dotgnu.org; Wed, 21 Apr 2004 19:48:59 +0200
Received: from 80.131.222.102 by freemailng0705.web.de with HTTP;
	Wed, 21 Apr 2004 19:48:56 +0200
Date: Wed, 21 Apr 2004 19:48:56 +0200
Message-Id: <1022452843@web.de>
MIME-Version: 1.0
From: "Klaus Treichel" <ktreichel@web.de>
To: pnet-developers@dotgnu.org
Precedence: fm-user
Organization: http://freemail.web.de/
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Subject: [Pnet-developers] compile problem with cscc
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

<html><style>p {margin: 0px}</style><body bgcolor='#ffffff' style='font-size:9pt; font-family:Verdana; font-family: Verdana' ><P>Hi,</P><P>&nbsp;</P><P>compiling ml-pnet with the current cvs snapshot of mcs i encountered the following problem.</P><P>In System.Xml.XmlDocument exists a member CreateNavigator which is marked as virtual protected internal. As much as i know are methods/properties marked as internal not accessible from outside of the assembly in which they are defined.</P><P>In the assembly System.Data exists a System.Xml/XmlDataDocument which overrides this&nbsp;method.&nbsp;The overriding method is marked as &nbsp;protected override but it should be protected virtual instead. It seems that monos mcs allows the access from outside.</P><P>&nbsp;</P><P>An other question. Does anyone know where to get the .Net 1.2 classlibrary specs from?</P><P>&nbsp;</P><P>Any suggestions are welcome.</P><P>&nbsp;</P><P>Regards</P><P>Klaus</P><br><br><table cellpadding="0" cellspa!
 cing="0" border="0"><tr><td bgcolor="#000000"><img src="http://img.web.de/p.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td style="font-family:verdana; font-size:12px; line-height:17px;">Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Netsky.A-P!&nbsp;&nbsp;<br>Kostenfrei fuer alle FreeMail Nutzer. <A HREF="http://f.web.de/?mc=021157"><B>http://f.web.de/?mc=021157</B></A>&nbsp;&nbsp;</td></tr></table></body></html>


From savannah-root@gnu.org Thu Apr 22 13:45:51 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 27157 invoked from network); 22 Apr 2004 13:45:51 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 22 Apr 2004 13:45:51 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BGfAX-0000Re-3r
	for pnet-developers@dotgnu.org; Thu, 22 Apr 2004 10:27:13 -0400
From: "anonymous" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:80 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8655
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.6) Gecko/20040113
X-Apparently-From: 210.50.106.4
X-Copy-To: Array
Message-Id: <E1BGfAX-0000Re-3r@savannah.gnu.org>
Date: Thu, 22 Apr 2004 10:27:13 -0400
Subject: [Pnet-developers] [bugs #8655] cscc/cscc.c - AddArgument adds garbage (v0.6.4)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #8655] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8655>
Project: DotGNU Portable.NET
Submitted by: 0
On: Thu 04/22/04 at 14:27

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  cscc/cscc.c - AddArgument adds garbage (v0.6.4)

Original Submission:  When adding only one argument with AddArgument to an empty array of strings, 2 elements are actually created, e.g.:

---

char **cmdline;
int cmdline_size;

cmdline = 0;
cmdline_size = 0;

AddArgument(&cmdline, &cmdline_size, "ilasm"); 

---
cmdline will now contain 2 elements:

cmdline[0] = "ilasm"
cmdline[1] = random garbage

when the second element should in fact contain NULL












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8655>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Thu Apr 22 14:18:06 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 3002 invoked from network); 22 Apr 2004 14:18:06 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 22 Apr 2004 14:18:06 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BGffj-0002MM-U5
	for pnet-developers@dotgnu.org; Thu, 22 Apr 2004 10:59:27 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8655
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BGffj-0002MM-U5@savannah.gnu.org>
Date: Thu, 22 Apr 2004 10:59:27 -0400
Subject: [Pnet-developers] [bugs #8655] cscc/cscc.c - AddArgument adds garbage (v0.6.4)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8655] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Thu 04/22/04 at 14:59 (Asia/Calcutta)

------------------ Additional Follow-up Comments ----------------------------
Actually in this case it creates a 16 element array :)
Fixing in a few minutes






/**************************************************************************/
[bugs #8655] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8655>
Project: DotGNU Portable.NET
Submitted by: 0
On: Thu 04/22/04 at 14:27

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  cscc/cscc.c - AddArgument adds garbage (v0.6.4)

Original Submission:  When adding only one argument with AddArgument to an empty array of strings, 2 elements are actually created, e.g.:

---

char **cmdline;
int cmdline_size;

cmdline = 0;
cmdline_size = 0;

AddArgument(&cmdline, &cmdline_size, "ilasm"); 

---
cmdline will now contain 2 elements:

cmdline[0] = "ilasm"
cmdline[1] = random garbage

when the second element should in fact contain NULL


Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 04/22/04 at 14:59         By: t3rmin4t0r
Actually in this case it creates a 16 element array :)
Fixing in a few minutes

-------------------------------------------------------
Date: Thu 04/22/04 at 14:28         By: None
Please email me at maciek(at)mil-sim(dot)net if you need more info




CC List
-------

CC Address                          | Comment
------------------------------------+-----------------------------
maciek --AT-- mil-sim --DOT-- net   | Originator









For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8655>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Thu Apr 22 14:20:24 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 3621 invoked from network); 22 Apr 2004 14:20:23 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 22 Apr 2004 14:20:23 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BGfhw-0002UD-B3
	for pnet-developers@dotgnu.org; Thu, 22 Apr 2004 11:01:44 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8655
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BGfhw-0002UD-B3@savannah.gnu.org>
Date: Thu, 22 Apr 2004 11:01:44 -0400
Subject: [Pnet-developers] [bugs #8655] cscc/cscc.c - AddArgument adds garbage (v0.6.4)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8655] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Thu 04/22/04 at 15:01 (Asia/Calcutta)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed on 22nd April 2004






/**************************************************************************/
[bugs #8655] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8655>
Project: DotGNU Portable.NET
Submitted by: 0
On: Thu 04/22/04 at 14:27

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


Summary:  cscc/cscc.c - AddArgument adds garbage (v0.6.4)

Original Submission:  When adding only one argument with AddArgument to an empty array of strings, 2 elements are actually created, e.g.:

---

char **cmdline;
int cmdline_size;

cmdline = 0;
cmdline_size = 0;

AddArgument(&cmdline, &cmdline_size, "ilasm"); 

---
cmdline will now contain 2 elements:

cmdline[0] = "ilasm"
cmdline[1] = random garbage

when the second element should in fact contain NULL


Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 04/22/04 at 15:01         By: t3rmin4t0r
Fixed on 22nd April 2004

-------------------------------------------------------
Date: Thu 04/22/04 at 14:59         By: t3rmin4t0r
Actually in this case it creates a 16 element array :)
Fixing in a few minutes

-------------------------------------------------------
Date: Thu 04/22/04 at 14:28         By: None
Please email me at maciek(at)mil-sim(dot)net if you need more info




CC List
-------

CC Address                          | Comment
------------------------------------+-----------------------------
maciek --AT-- mil-sim --DOT-- net   | Originator









For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8655>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Thu Apr 22 14:21:49 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 3876 invoked from network); 22 Apr 2004 14:21:49 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 22 Apr 2004 14:21:49 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BGfjJ-0002YF-Sk
	for pnet-developers@dotgnu.org; Thu, 22 Apr 2004 11:03:09 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 6999
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BGfjJ-0002YF-Sk@savannah.gnu.org>
Date: Thu, 22 Apr 2004 11:03:09 -0400
Subject: [Pnet-developers] [bugs #6999] C# using-alias-directive broken for namespaces
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #6999] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Thu 04/22/04 at 15:02 (Asia/Calcutta)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed







/**************************************************************************/
[bugs #6999] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=6999>
Project: DotGNU Portable.NET
Submitted by: Tony Garnock-Jones
On: Sun 12/28/03 at 00:12

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


Summary:  C# using-alias-directive broken for namespaces

Original Submission:  Code such as the following (where Shared.Service is a class) will not compile (I've attached a small test case that helps narrow down the problem), whereas it does compile on MS.NET and Mono:

using S = Shared;
public class Main {
    public static void Main() {
	S.Service s = new S.Service();
	s.Hi();
    }
}


Follow-up Comments
------------------


-------------------------------------------------------
Date: Sun 04/18/04 at 15:35         By: t3rmin4t0r
Fix committed to CVS on 18th April 2004 . 

The without using bug is bug #8225 and will be fixed seperately

-------------------------------------------------------
Date: Sun 12/28/03 at 01:14         By: surazal
Yet another refinement (...-3.tar.gz) - checking what happens with aliases of classes containing inner classes. Turns out to be the same problem. (Although I'm not sure whether this is supposed to work or not according to the ECMA spec, and I don't have mono or MS.NET handy here at home to test this third set of test cases.)

-------------------------------------------------------
Date: Sun 12/28/03 at 01:08         By: surazal
Here's a new test case that pins it down even further (using-directive-2.tar.gz). Referring to S.Inner.S2 gives a different set of messages than referring to S.Service. The only nontrivial difference between the classes is that one is inside another namespace layer.






File Attachments
-------------------

-------------------------------------------------------
Date: Sun 12/28/03 at 01:14  Name: using-directive-3.tar.gz  Size: 679KB   By: surazal
Further refinement, checking aliases of classes containing inner classes
http://savannah.gnu.org/bugs/download.php?item_id=6999&amp;item_file_id=912

-------------------------------------------------------
Date: Sun 12/28/03 at 01:08  Name: using-directive-2.tar.gz  Size: 626KB   By: surazal
Refined test cases
http://savannah.gnu.org/bugs/download.php?item_id=6999&amp;item_file_id=911

-------------------------------------------------------
Date: Sun 12/28/03 at 00:12  Name: using-directive.tar.gz  Size: 561KB   By: surazal
Test case with three examples, two working, one broken
http://savannah.gnu.org/bugs/download.php?item_id=6999&amp;item_file_id=910






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=6999>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Thu Apr 22 14:53:28 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 8503 invoked from network); 22 Apr 2004 14:53:28 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 22 Apr 2004 14:53:28 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BGgDx-0004kX-Oc
	for pnet-developers@dotgnu.org; Thu, 22 Apr 2004 11:34:49 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8638
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BGgDx-0004kX-Oc@savannah.gnu.org>
Date: Thu, 22 Apr 2004 11:34:49 -0400
Subject: [Pnet-developers] [bugs #8638] managed arrays in C compiler
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8638] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Thu 04/22/04 at 15:34 (Asia/Calcutta)

------------------ Additional Follow-up Comments ----------------------------
Strangely the code 

__box int array[] = new __box int[10];

does not compile for me .

But I think the attached patch fixes your problem ?.

I'll check in this after rhys's comments :)






/**************************************************************************/
[bugs #8638] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8638>
Project: DotGNU Portable.NET
Submitted by: 0
On: Wed 04/21/04 at 11:03

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  managed arrays in C compiler

Original Submission:  The following declare managed arrays:

__box int array[]=new __box int[10];
int array __gc[] = __gc new int[10];

but then don't work with ordinary C subscripting i.e.

array[0]=0;

gives "subscripted value is neither array nor pointer" compiler error in both cases.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 04/22/04 at 15:34         By: t3rmin4t0r
Strangely the code 

__box int array[] = new __box int[10];

does not compile for me .

But I think the attached patch fixes your problem ?.

I'll check in this after rhys's comments :)






File Attachments
-------------------

-------------------------------------------------------
Date: Thu 04/22/04 at 15:34  Name: c_lvalue.tc.patch  Size: 1009KB   By: t3rmin4t0r
c_lvalue.tc Patch
http://savannah.gnu.org/bugs/download.php?item_id=8638&amp;item_file_id=1220






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8638>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From rweather@zip.com.au Thu Apr 22 21:31:11 2004
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 12001 invoked from network); 22 Apr 2004 21:31:10 -0000
Received: from unknown (HELO gizmo11ps.bigpond.com) (144.140.71.21)
  by 0 with SMTP; 22 Apr 2004 21:31:10 -0000
Received: (qmail 9081 invoked from network); 22 Apr 2004 22:03:47 -0000
Received: from unknown (HELO psmam14.bigpond.com) (144.135.25.109)
  by gizmo11ps.bigpond.com with SMTP; 22 Apr 2004 22:03:47 -0000
Received: from cpe-141-168-100-196.qld.bigpond.net.au ([141.168.100.196]) by psmam14.bigpond.com(MAM REL_3_4_2 252/2332986) with SMTP id 2332986; Fri, 23 Apr 2004 08:12:21 +1000
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] [bugs #8638] managed arrays in C compiler
Date: Fri, 23 Apr 2004 08:06:13 +1000
User-Agent: KMail/1.4.3
References: <E1BGgDx-0004kX-Oc@savannah.gnu.org>
In-Reply-To: <E1BGgDx-0004kX-Oc@savannah.gnu.org>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200404230806.13187.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Friday 23 April 2004 01:34 am, Gopal.V wrote:

> I'll check in this after rhys's comments :)

Looks reasonable, although I don't think you need to worry about the raw=20
element type stuff for managed arrays as it shouldn't be possible to=20
construct a managed type that will require decaying pointers.

Cheers,

Rhys.


From thorin1@genie.co.uk Thu Apr 22 23:17:51 2004
Return-Path: <thorin1@genie.co.uk>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 29178 invoked from network); 22 Apr 2004 23:17:51 -0000
Received: from unknown (HELO serlinux15.essex.ac.uk) (155.245.42.3)
  by 0 with SMTP; 22 Apr 2004 23:17:51 -0000
Received: from so-19740-x0.essex.ac.uk ([155.245.123.35] helo=03720)
	by serlinux15.essex.ac.uk with smtp (Exim 4.24)
	id 1BGo5b-0001EA-HE; Fri, 23 Apr 2004 00:58:43 +0100
From: "Alex Stephens" <thorin1@genie.co.uk>
To: "Rhys Weatherley" <rweather@zip.com.au>,
	pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] [bugs #8638] managed arrays in C compiler
Date: Fri, 23 Apr 2004 00:58:50 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <E1BGo5b-0001EA-HE@serlinux15.essex.ac.uk>
X-Essex-MailScanner-Information: Please contact the ISP for more information
X-Essex-MailScanner: Found to be clean
X-Essex-MailScanner-SpamCheck: not spam (whitelisted),
	SpamAssassin (score=3.31, required 5, MSGID_FROM_MTA_SHORT 3.31)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Thanks Gopal, I applied the patch and it seems to have fixed the subscr=
ipting problem=2E  I can now compile int x=3Darray[0] for a managed arr=
ay; however, if I try to assign values to managed array members e=2Eg=2E=
 array[0]=3D0, I get an "invalid lvalue in assignment" error=2E
Also, I don't seem able to use the "%i" format specifier i=2Ee=2E
printf("%i",array[0]);
just produces "i" on stdout whereas the %s and %d format specifiers do =
seem to work=2E Is this another bug?

Regards,
Alex

On Fri, 23 Apr 2004 08:06:13 +1000, Rhys Weatherley wrote:

> On Friday 23 April 2004 01:34 am, Gopal=2EV wrote:
>=20
> > I'll check in this after rhys's comments :)
>=20
> Looks reasonable, although I don't think you need to worry about the =
raw=20
> element type stuff for managed arrays as it shouldn't be possible to=20=

> construct a managed type that will require decaying pointers=2E
>=20
> Cheers,
>=20
> Rhys=2E
>=20
> _______________________________________________
> Pnet-developers mailing list
> Pnet-developers@dotgnu=2Eorg
> http://dotgnu=2Eorg/mailman/listinfo/pnet-developers

From rweather@zip.com.au Thu Apr 22 23:29:26 2004
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 31080 invoked from network); 22 Apr 2004 23:29:26 -0000
Received: from unknown (HELO gizmo10bw.bigpond.com) (144.140.70.20)
  by 0 with SMTP; 22 Apr 2004 23:29:26 -0000
Received: (qmail 25871 invoked from network); 23 Apr 2004 00:05:41 -0000
Received: from unknown (HELO bwmam14.bigpond.com) (144.135.24.109)
  by gizmo10bw.bigpond.com with SMTP; 23 Apr 2004 00:05:41 -0000
Received: from cpe-141-168-100-196.qld.bigpond.net.au ([141.168.100.196]) by bwmam14.bigpond.com(MAM REL_3_4_2 207/143617) with SMTP id 143617; Fri, 23 Apr 2004 10:10:36 +1000
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: "Alex Stephens" <thorin1@genie.co.uk>,
 pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] [bugs #8638] managed arrays in C compiler
Date: Fri, 23 Apr 2004 10:04:27 +1000
User-Agent: KMail/1.4.3
References: <E1BGo5b-0001EA-HE@serlinux15.essex.ac.uk>
In-Reply-To: <E1BGo5b-0001EA-HE@serlinux15.essex.ac.uk>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200404231004.27668.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Friday 23 April 2004 10:58 am, Alex Stephens wrote:

> printf("%i",array[0]);
> just produces "i" on stdout whereas the %s and %d format specifiers do =
seem
> to work. Is this another bug?

The printf implementation is just a dummy until the glibc version can be =
made=20
to work in pnetC.  Volunteers are required to work on pnetC.

Cheers,

Rhys.


From ktreichel@web.de Fri Apr 23 05:46:39 2004
Return-Path: <ktreichel@web.de>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 32200 invoked from network); 23 Apr 2004 05:46:39 -0000
Received: from unknown (HELO smtp.web.de) (217.72.192.225)
  by 0 with SMTP; 23 Apr 2004 05:46:39 -0000
Received: from [217.83.190.112] (helo=[192.168.123.100])
	by smtp.web.de with asmtp (WEB.DE 4.101 #91)
	id 1BGuAA-0005Nf-00
	for pnet-developers@dotgnu.org; Fri, 23 Apr 2004 08:27:50 +0200
From: Klaus Treichel <ktreichel@web.de>
Reply-To: ktreichel@web.de
To: Pnet Developers <pnet-developers@dotgnu.org>
Content-Type: text/plain
Organization: privat
Message-Id: <1082701609.4378.7.camel@nbkt.ktreichel.local>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 23 Apr 2004 08:26:49 +0200
Content-Transfer-Encoding: 7bit
Sender: ktreichel@web.de
Subject: [Pnet-developers] Change in System.Xml/XmlDocument.cs to compile ml-pnet's
 System.Data
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,

to compile ml-pnet there has to be made a change in 
pnetlib/System.Xml/XmlDocument.cs. This one resolves one of the methods
marked as missing in the classstatus bus is not 100% .NET 1.1
compatible.

Lines to be added:

	// Create a navigator to navigate in this document with the current
position
	// on the given node
	// should be internal protected virtual XPathNavigator
CreateNavigator(XmlNode node)
	// but for monos System.Data the internal modifier has to be removed
	[TODO]
	protected virtual XPathNavigator CreateNavigator(XmlNode node)
			{
				throw new NotImplementedException("CreateNavigator");
			}

Regards

Klaus


From thorin1@genie.co.uk Fri Apr 23 14:32:09 2004
Return-Path: <thorin1@genie.co.uk>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 2675 invoked from network); 23 Apr 2004 14:32:09 -0000
Received: from unknown (HELO serlinux15.essex.ac.uk) (155.245.42.3)
  by 0 with SMTP; 23 Apr 2004 14:32:09 -0000
Received: from so-19740-x0.essex.ac.uk ([155.245.123.35] helo=11682)
	by serlinux15.essex.ac.uk with smtp (Exim 4.24)
	id 1BH2LU-0008Se-G9; Fri, 23 Apr 2004 16:12:04 +0100
From: "Alex Stephens" <thorin1@genie.co.uk>
To: "Rhys Weatherley" <rweather@zip.com.au>,
	pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] [bugs #8638] managed arrays in C compiler
Date: Fri, 23 Apr 2004 16:12:12 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <E1BH2LU-0008Se-G9@serlinux15.essex.ac.uk>
X-Essex-MailScanner-Information: Please contact the ISP for more information
X-Essex-MailScanner: Found to be clean
X-Essex-MailScanner-SpamCheck: not spam (whitelisted),
	SpamAssassin (score=3.31, required 5, MSGID_FROM_MTA_SHORT 3.31)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Is the "invalid lvalue in assignment" error a bug?

Regards,
Alex

On Fri, 23 Apr 2004 10:04:27 +1000, Rhys Weatherley wrote:

> On Friday 23 April 2004 10:58 am, Alex Stephens wrote:
>=20
> > printf("%i",array[0]);
> > just produces "i" on stdout whereas the %s and %d format specifiers=
 do seem
> > to work=2E Is this another bug?
>=20
> The printf implementation is just a dummy until the glibc version can=
 be made=20
> to work in pnetC=2E  Volunteers are required to work on pnetC=2E
>=20
> Cheers,
>=20
> Rhys=2E
> 

From savannah-root@gnu.org Sat Apr 24 12:34:07 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 7990 invoked from network); 24 Apr 2004 12:34:06 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 24 Apr 2004 12:34:06 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BHN01-0000Tr-Vk
	for pnet-developers@dotgnu.org; Sat, 24 Apr 2004 09:15:18 -0400
From: "anonymous" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:80 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8686
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 155.245.123.35
X-Copy-To: Array
Message-Id: <E1BHN01-0000Tr-Vk@savannah.gnu.org>
Date: Sat, 24 Apr 2004 09:15:18 -0400
Subject: [Pnet-developers] [bugs #8686] managed array assignment
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #8686] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8686>
Project: DotGNU Portable.NET
Submitted by: 0
On: Sat 04/24/04 at 09:15

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  managed array assignment

Original Submission:  The fix to bug #8638 allows:
__box int array[]=new __box int[10];
or 
int array __gc[] = __gc new int[10]; 
but assignment now fails.
array[0]=0;
gives "invalid lvalue in assignment" (or something like that).











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8686>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Sat Apr 24 13:00:30 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 13788 invoked from network); 24 Apr 2004 13:00:30 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 24 Apr 2004 13:00:30 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BHNPZ-0001rj-E4
	for pnet-developers@dotgnu.org; Sat, 24 Apr 2004 09:41:41 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8638
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BHNPZ-0001rj-E4@savannah.gnu.org>
Date: Sat, 24 Apr 2004 09:41:41 -0400
Subject: [Pnet-developers] [bugs #8638] managed arrays in C compiler
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8638] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Sat 04/24/04 at 13:41 (Asia/Calcutta)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed in cvs - 24th April 2004






/**************************************************************************/
[bugs #8638] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8638>
Project: DotGNU Portable.NET
Submitted by: 0
On: Wed 04/21/04 at 11:03

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


Summary:  managed arrays in C compiler

Original Submission:  The following declare managed arrays:

__box int array[]=new __box int[10];
int array __gc[] = __gc new int[10];

but then don't work with ordinary C subscripting i.e.

array[0]=0;

gives "subscripted value is neither array nor pointer" compiler error in both cases.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Sat 04/24/04 at 13:41         By: t3rmin4t0r
Fixed in cvs - 24th April 2004

-------------------------------------------------------
Date: Thu 04/22/04 at 16:39         By: None
Thanks Gopal. I don't know why the code didn't compile for you; I was using v0.6.4, and of course you have to include csharp.h. I will try to check out your patch later on.

-------------------------------------------------------
Date: Thu 04/22/04 at 15:34         By: t3rmin4t0r
Strangely the code 

__box int array[] = new __box int[10];

does not compile for me .

But I think the attached patch fixes your problem ?.

I'll check in this after rhys's comments :)






File Attachments
-------------------

-------------------------------------------------------
Date: Thu 04/22/04 at 15:34  Name: c_lvalue.tc.patch  Size: 1009KB   By: t3rmin4t0r
c_lvalue.tc Patch
http://savannah.gnu.org/bugs/download.php?item_id=8638&amp;item_file_id=1220






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8638>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Sat Apr 24 13:01:12 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 14009 invoked from network); 24 Apr 2004 13:01:11 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 24 Apr 2004 13:01:11 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BHNQF-0001v5-AE
	for pnet-developers@dotgnu.org; Sat, 24 Apr 2004 09:42:23 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8686
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BHNQF-0001v5-AE@savannah.gnu.org>
Date: Sat, 24 Apr 2004 09:42:23 -0400
Subject: [Pnet-developers] [bugs #8686] managed array assignment
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8686] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Sat 04/24/04 at 13:42 (Asia/Calcutta)

------------------ Additional Follow-up Comments ----------------------------
Fixed in cvs - 24th April 2004 






/**************************************************************************/
[bugs #8686] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8686>
Project: DotGNU Portable.NET
Submitted by: 0
On: Sat 04/24/04 at 13:15

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  managed array assignment

Original Submission:  The fix to bug #8638 allows:
__box int array[]=new __box int[10];
or 
int array __gc[] = __gc new int[10]; 
but assignment now fails.
array[0]=0;
gives "invalid lvalue in assignment" (or something like that).

Follow-up Comments
------------------


-------------------------------------------------------
Date: Sat 04/24/04 at 13:42         By: t3rmin4t0r
Fixed in cvs - 24th April 2004 












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8686>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From ib@sdf-eu.org Sat Apr 24 17:15:34 2004
Return-Path: <ib@sdf-eu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 18749 invoked from network); 24 Apr 2004 17:15:33 -0000
Received: from unknown (HELO droog.sdf-eu.org) (192.94.73.35)
  by 0 with SMTP; 24 Apr 2004 17:15:33 -0000
Received: from webmail.sdf-eu.org (IDENT:nobody@droog.sdf-eu.org [192.94.73.35])
	by droog.sdf-eu.org (8.12.10/8.12.10) with SMTP id i3OHuVPg021318
	for <pnet-developers@dotgnu.org>; Sat, 24 Apr 2004 17:56:31 GMT
Received: from 82.208.134.95
        (SquirrelMail authenticated user ib)
        by sdf-eu.org with HTTP;
        Sat, 24 Apr 2004 15:56:31 -0200 (GMT+2)
Message-ID: <59848.82.208.134.95.1082829391.squirrel@sdf-eu.org>
Date: Sat, 24 Apr 2004 15:56:31 -0200 (GMT+2)
From: "ionut bizau" <ib@sdf-eu.org>
To: pnet-developers@dotgnu.org
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
Subject: [Pnet-developers] pnet on openbsd
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hello!

Anyone has pnet working on openbsd? I have tried, but ilrun just "hangs".
After some investigations i found out that the problem is in the garbage
collector (function GC_get_stack_base() in libgc/os_dep.c). This function
(well, the one that is called on my system, cause there are more versions)
calls GC_find_limit() which afaik raises a seg fault but hangs instead of
exiting the program. In the docs of libgc there is written that it runs on
*bsd and there are also some #ifdef(OPENBSD)s in its code so i suppose
that maybe i am doing something wrong. Anyone could give me a hint pls?
Btw, how do you handle libgc? You took it once and after that you are
updating that version or you always take its last "official" version?

Thank you in advance,

Ionut B

From savannah-root@gnu.org Sun Apr 25 07:34:16 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 21635 invoked from network); 25 Apr 2004 07:34:15 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 25 Apr 2004 07:34:15 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BHenL-0002ue-8d
	for pnet-developers@dotgnu.org; Sun, 25 Apr 2004 04:15:23 -0400
From: "Gopal.V" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8686
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
X-Apparently-From: 203.197.249.147
X-Copy-To: Array
Message-Id: <E1BHenL-0002ue-8d@savannah.gnu.org>
Date: Sun, 25 Apr 2004 04:15:23 -0400
Subject: [Pnet-developers] [bugs #8686] managed array assignment
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8686] Latest Modifications:

Changes by: 
		Gopal.V <gopalv82@symonds.net>
'Date: 
		Sun 04/25/04 at 08:15 (Asia/Calcutta)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed







/**************************************************************************/
[bugs #8686] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8686>
Project: DotGNU Portable.NET
Submitted by: 0
On: Sat 04/24/04 at 13:15

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


Summary:  managed array assignment

Original Submission:  The fix to bug #8638 allows:
__box int array[]=new __box int[10];
or 
int array __gc[] = __gc new int[10]; 
but assignment now fails.
array[0]=0;
gives "invalid lvalue in assignment" (or something like that).

Follow-up Comments
------------------


-------------------------------------------------------
Date: Sat 04/24/04 at 13:42         By: t3rmin4t0r
Fixed in cvs - 24th April 2004 












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8686>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Sun Apr 25 21:10:48 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 14849 invoked from network); 25 Apr 2004 21:10:48 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 25 Apr 2004 21:10:48 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BHrXU-0003Gc-8x
	for pnet-developers@dotgnu.org; Sun, 25 Apr 2004 17:51:52 -0400
From: "Thong Nguyen" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:80 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 4136
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; .NET CLR 1.1.4322)
X-Apparently-From: 210.55.64.47
X-Copy-To: Array
Message-Id: <E1BHrXU-0003Gc-8x@savannah.gnu.org>
Date: Sun, 25 Apr 2004 17:51:52 -0400
Subject: [Pnet-developers] [bugs #4136] Type.GetType doesn't load new assemblies
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #4136] Latest Modifications:

Changes by: 
		Thong Nguyen <tum@veridicus.com>
'Date: 
		Sun 04/25/04 at 21:51 (GMT)

------------------ Additional Follow-up Comments ----------------------------
"B, B" is a valid qualified name for the type "B".  FYI, the code works on MS.NET.






/**************************************************************************/
[bugs #4136] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=4136>
Project: DotGNU Portable.NET
Submitted by: Thong Nguyen
On: Sun 06/29/03 at 16:35

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Type.GetType doesn't load new assemblies

Original Submission:  Example:

// a.exe

using System;

public class A
{
   public static void Main()
   {
       Type.GetType("B, B", true);
   }
}

// b.dll

public class B
{
}


A throws an exception.  Type.GetType should automatically load up b.dll if it isn't already loaded using the usual resolution rules.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Sun 04/25/04 at 21:51         By: tum
"B, B" is a valid qualified name for the type "B".  FYI, the code works on MS.NET.

-------------------------------------------------------
Date: Mon 10/27/03 at 21:00         By: leppie
AFAIK Type.GetType() will NOT load the type unless the name passed is the fully qualified name of the assembly and type.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=4136>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Mon Apr 26 09:29:58 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 29176 invoked from network); 26 Apr 2004 09:29:58 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 26 Apr 2004 09:29:58 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BI34m-0004mv-D5
	for pnet-developers@dotgnu.org; Mon, 26 Apr 2004 06:11:00 -0400
From: "Thong Nguyen" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:80 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8463
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; .NET CLR 1.1.4322)
X-Apparently-From: 210.55.64.47
X-Copy-To: Array
Message-Id: <E1BI34m-0004mv-D5@savannah.gnu.org>
Date: Mon, 26 Apr 2004 06:11:00 -0400
Subject: [Pnet-developers] [bugs #8463] Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8463] Latest Modifications:

Changes by: 
		Thong Nguyen <tum@veridicus.com>
'Date: 
		Mon 04/26/04 at 10:10 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Should be fixed in CVS.  Engine structures have changed -- remember to do a clean build.






/**************************************************************************/
[bugs #8463] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8463>
Project: DotGNU Portable.NET
Submitted by: Russell Stuart
On: Tue 04/06/04 at 08:47

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Closed


Summary:  Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun

Original Submission:  This standlone program:
  class X {
    static void Main() {
      System.Threading.Monitor.Wait(typeof(X));
    }
  }
causes a segmentation fault in ilrun.  It should throw a System.Threading.SynchronizationLockException.


Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 04/26/04 at 10:10         By: tum
Should be fixed in CVS.  Engine structures have changed -- remember to do a clean build.

-------------------------------------------------------
Date: Fri 04/16/04 at 04:05         By: rstuart
This is the gdb backtrace:
#0  _IL_Interlocked_Increment_Ri (thread=0x8126f60, location=0x4) at lib_thread.c:898
#1  0x08068cd8 in _IL_Monitor_InternalWait (thread=0x8126f60, objnv=0x8153ff8, timeout=-1)
    at lib_thread.c:454
#2  0x080c5473 in ffi_call_SYSV () at /tmp/cctF7x6P.s:40
#3  0x080c5439 in ffi_raw_call (cif=0x1, fn=0x8068ca0 <_IL_Monitor_InternalWait>, rvalue=0x1,
    fake_avalue=0x0) at src/x86/ffi.c:515
#4  0x080856cb in _ILCVMInterpreter (thread=0x8126f60) at cvm_call.c:665
#5  0x0804c294 in _ILCallMethod (thread=0x8126f60, method=0x400152c4,
    unpack=0x804c108 <_ILCallUnpackVResult>, result=0xbfffef90, isCtor=0, _this=0x0,
    pack=0x804be50 <_ILCallPackVParams>, userData=0xbfffefa0) at call.c:706
#6  0x0804c579 in ILExecThreadCallV (thread=0x8126f60, method=0x400152c4, result=0xbfffef90,
    args=0xbfffefa0) at call.c:928
#7  0x0804ba1f in main (argc=2, argv=0xbffff024) at ilrun.c:464
#8  0x400e04ed in __libc_start_main () from /lib/libc.so.6


-------------------------------------------------------
Date: Thu 04/15/04 at 22:29         By: rstuart
The patch I submitted was broken.


-------------------------------------------------------
Date: Tue 04/06/04 at 09:10         By: rstuart
Attached is a suggested fix to the problem.  Please check _carefully_.













For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8463>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From savannah-root@gnu.org Mon Apr 26 09:32:15 2004
Return-Path: <savannah-root@gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 29614 invoked from network); 26 Apr 2004 09:32:15 -0000
Received: from unknown (HELO savannah.gnu.org) (199.232.41.5)
  by 0 with SMTP; 26 Apr 2004 09:32:15 -0000
Received: from savannah ([127.0.0.1] helo=localhost)
	by savannah.gnu.org with smtp (Exim 4.24)
	id 1BI36t-0004qe-7J
	for pnet-developers@dotgnu.org; Mon, 26 Apr 2004 06:13:11 -0400
From: "Thong Nguyen" <noreply@savannah.gnu.org>
To: pnet-developers@dotgnu.org
X-Savannah-Server: savannah.gnu.org:80 [199.232.41.3]
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bugs
X-Savannah-Artifact-ID: 8463
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; .NET CLR 1.1.4322)
X-Apparently-From: 210.55.64.47
X-Copy-To: Array
Message-Id: <E1BI36t-0004qe-7J@savannah.gnu.org>
Date: Mon, 26 Apr 2004 06:13:11 -0400
Subject: [Pnet-developers] [bugs #8463] Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8463] Latest Modifications:

Changes by: 
		Thong Nguyen <tum@veridicus.com>
'Date: 
		Mon 04/26/04 at 10:12 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed







/**************************************************************************/
[bugs #8463] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8463>
Project: DotGNU Portable.NET
Submitted by: Russell Stuart
On: Tue 04/06/04 at 08:47

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


Summary:  Monitor.Wait(..) on unlocked object causes SEGFAULT in ilrun

Original Submission:  This standlone program:
  class X {
    static void Main() {
      System.Threading.Monitor.Wait(typeof(X));
    }
  }
causes a segmentation fault in ilrun.  It should throw a System.Threading.SynchronizationLockException.


Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 04/26/04 at 10:10         By: tum
Should be fixed in CVS.  Engine structures have changed -- remember to do a clean build.

-------------------------------------------------------
Date: Fri 04/16/04 at 04:05         By: rstuart
This is the gdb backtrace:
#0  _IL_Interlocked_Increment_Ri (thread=0x8126f60, location=0x4) at lib_thread.c:898
#1  0x08068cd8 in _IL_Monitor_InternalWait (thread=0x8126f60, objnv=0x8153ff8, timeout=-1)
    at lib_thread.c:454
#2  0x080c5473 in ffi_call_SYSV () at /tmp/cctF7x6P.s:40
#3  0x080c5439 in ffi_raw_call (cif=0x1, fn=0x8068ca0 <_IL_Monitor_InternalWait>, rvalue=0x1,
    fake_avalue=0x0) at src/x86/ffi.c:515
#4  0x080856cb in _ILCVMInterpreter (thread=0x8126f60) at cvm_call.c:665
#5  0x0804c294 in _ILCallMethod (thread=0x8126f60, method=0x400152c4,
    unpack=0x804c108 <_ILCallUnpackVResult>, result=0xbfffef90, isCtor=0, _this=0x0,
    pack=0x804be50 <_ILCallPackVParams>, userData=0xbfffefa0) at call.c:706
#6  0x0804c579 in ILExecThreadCallV (thread=0x8126f60, method=0x400152c4, result=0xbfffef90,
    args=0xbfffefa0) at call.c:928
#7  0x0804ba1f in main (argc=2, argv=0xbffff024) at ilrun.c:464
#8  0x400e04ed in __libc_start_main () from /lib/libc.so.6


-------------------------------------------------------
Date: Thu 04/15/04 at 22:29         By: rstuart
The patch I submitted was broken.


-------------------------------------------------------
Date: Tue 04/06/04 at 09:10         By: rstuart
Attached is a suggested fix to the problem.  Please check _carefully_.













For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8463>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




From jonas@printzen.se Thu Apr 29 09:34:34 2004
Return-Path: <jonas@printzen.se>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 20816 invoked from network); 29 Apr 2004 09:34:34 -0000
Received: from unknown (HELO printzen.se) (194.236.142.104)
  by 0 with SMTP; 29 Apr 2004 09:34:34 -0000
Received: from localhost (localhost [127.0.0.1])
  (uid 1001)
  by printzen.se with local; Thu, 29 Apr 2004 12:13:16 +0200
From: "Jonas Printzen" <jonas@printzen.net>
To: pnet-developers@dotgnu.org
Date: Thu, 29 Apr 2004 12:13:16 +0200
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-ID: <courier.4090D53C.00001FE4@printzen.se>
Subject: [Pnet-developers] Re: back to Emit problems
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi! 

I am looking at Emit and preparing to
do some work on it. However I see that
the ECMA-documentation does not cover
the Emit namespace. Also some of the
Reflection classes (Ex: AssemblyName)
are missing in the ECMS docs. 

Do I have an old ECMA-spec? 

To adhere to the non-peeking at proprietary
stuff, where do U guys peek? :o) 

/Jonas

From gopalv82@yahoo.com Thu Apr 29 09:59:25 2004
Return-Path: <gopalv82@yahoo.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 27760 invoked from network); 29 Apr 2004 09:59:25 -0000
Received: from unknown (HELO web40001.mail.yahoo.com) (66.218.78.19)
  by 0 with SMTP; 29 Apr 2004 09:59:25 -0000
Message-ID: <20040429104007.79421.qmail@web40001.mail.yahoo.com>
Received: from [202.144.8.165] by web40001.mail.yahoo.com via HTTP; Thu, 29 Apr 2004 03:40:07 PDT
Date: Thu, 29 Apr 2004 03:40:07 -0700 (PDT)
From: Gopal V <gopalv82@yahoo.com>
Subject: Re: [Pnet-developers] Re: back to Emit problems
To: Jonas Printzen <jonas@printzen.net>, pnet-developers@dotgnu.org
In-Reply-To: <courier.4090D53C.00001FE4@printzen.se>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,

> I am looking at Emit and preparing to
> do some work on it. However I see that
> the ECMA-documentation does not cover
> the Emit namespace. Also some of the
> Reflection classes (Ex: AssemblyName)
> are missing in the ECMS docs. 

ECMA BCL does not cover Reflection.Emit
(unfortunately).

> To adhere to the non-peeking at proprietary
> stuff, where do U guys peek? :o) 

How about MSDN :) .... The way I do it is to just 
type the class name in google and let it find the 
docs to peek. It hasn't failed till now :)

Reflection.Emit should be decently documented there.
Btw, the IL unit test application doesn't sound too
bad .. try { } catch ( VerificationException e) {}
might work.. But of course, we're trying to build a 
Re.Emit that generates valid code ;-)

The hard part of Re.Emit will be the dynamic execution
part. The IL has to be executed without writing to the
disk . But we'll cross that bridge when we come to it.

Gopal


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

From gopalv82@yahoo.com Thu Apr 29 10:47:20 2004
Return-Path: <gopalv82@yahoo.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 10123 invoked from network); 29 Apr 2004 10:47:20 -0000
Received: from unknown (HELO web40002.mail.yahoo.com) (66.218.78.20)
  by 0 with SMTP; 29 Apr 2004 10:47:20 -0000
Message-ID: <20040429112802.78558.qmail@web40002.mail.yahoo.com>
Received: from [202.144.8.165] by web40002.mail.yahoo.com via HTTP; Thu, 29 Apr 2004 04:28:02 PDT
Date: Thu, 29 Apr 2004 04:28:02 -0700 (PDT)
From: Gopal V <gopalv82@yahoo.com>
Subject: Re: [Pnet-developers] pnet on openbsd
To: ionut bizau <ib@sdf-eu.org>, pnet-developers@dotgnu.org
In-Reply-To: <59848.82.208.134.95.1082829391.squirrel@sdf-eu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,

Sorry for the looooong delay :)

> Anyone has pnet working on openbsd? I have tried,
> but ilrun just "hangs".

We have no developers/testers for pnet on openbsd..

> exiting the program. In the docs of libgc there is
> written that it runs on
> *bsd and there are also some #ifdef(OPENBSD)s in its
> code so i suppose
> that maybe i am doing something wrong. Anyone could
> give me a hint pls?

Actually , it does work on FreeBSD ... strange that it
does not work on OPENBSD ..

> Btw, how do you handle libgc? You took it once and
> after that you are
> updating that version or you always take its last
> "official" version?

We haven't updated our libgc for a long time now ..
Maybe it's time ... What does rhys and tum (and 
rstuart) have to say about upgrading libgc ?

Gopal

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

From malekith@pld-linux.org Thu Apr 29 15:19:46 2004
Return-Path: <malekith@pld-linux.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 5554 invoked from network); 29 Apr 2004 15:19:45 -0000
Received: from unknown (HELO nemerle.org) (156.17.4.7)
  by 0 with SMTP; 29 Apr 2004 15:19:45 -0000
Received: from malekith by nemerle.org with local (Exim 4.24)
	id 1BJDxT-0002Tk-N1; Thu, 29 Apr 2004 18:00:19 +0200
Date: Thu, 29 Apr 2004 17:57:33 +0200
From: Michal Moskal <malekith@pld-linux.org>
To: Gopal V <gopalv82@yahoo.com>
Cc: Jonas Printzen <jonas@printzen.net>, pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] Re: back to Emit problems
Message-ID: <20040429155733.GA29030@roke.freak>
Mail-Followup-To: Gopal V <gopalv82@yahoo.com>,
	Jonas Printzen <jonas@printzen.net>, pnet-developers@dotgnu.org
References: <courier.4090D53C.00001FE4@printzen.se> <20040429104007.79421.qmail@web40001.mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040429104007.79421.qmail@web40001.mail.yahoo.com>
User-Agent: Mutt/1.4.2.1i
X-PGP-Fingerprint: CF89 1B14 11BE 1CC9 2CA3  7497 5E32 69B4 BC71 B4C2
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Thu, Apr 29, 2004 at 03:40:07AM -0700, Gopal V wrote:
> Reflection.Emit should be decently documented there.
> Btw, the IL unit test application doesn't sound too
> bad .. try { } catch ( VerificationException e) {}
> might work.. But of course, we're trying to build a 
> Re.Emit that generates valid code ;-)

I believe there are no guarantees about validity of code generated by
S.R.E. It is even possible to insert some junky opcodes by accident
by using wrong overload of Emit method (like Emit(Ldarg_s,
0xdeadf00ddeadf00dULL)). Neither Mono nor MS .NET catches this kind of
error during generation. And verification is far more complex then just
valid opcodes.

-- 
: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: When in doubt, use brute force. -- Ken Thompson :: UL++++$ C++ E--- a?

From gopalv82@yahoo.com Thu Apr 29 15:38:08 2004
Return-Path: <gopalv82@yahoo.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 9169 invoked from network); 29 Apr 2004 15:38:08 -0000
Received: from unknown (HELO web40004.mail.yahoo.com) (66.218.78.22)
  by 0 with SMTP; 29 Apr 2004 15:38:08 -0000
Message-ID: <20040429161846.54973.qmail@web40004.mail.yahoo.com>
Received: from [202.144.8.165] by web40004.mail.yahoo.com via HTTP; Thu, 29 Apr 2004 09:18:46 PDT
Date: Thu, 29 Apr 2004 09:18:46 -0700 (PDT)
From: Gopal V <gopalv82@yahoo.com>
Subject: Re: [Pnet-developers] Re: back to Emit problems
To: Michal Moskal <malekith@pld-linux.org>
Cc: Jonas Printzen <jonas@printzen.net>, pnet-developers@dotgnu.org
In-Reply-To: <20040429155733.GA29030@roke.freak>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,

> > might work.. But of course, we're trying to build
> a 
> > Re.Emit that generates valid code ;-)
> 
> I believe there are no guarantees about validity of
> code generated by
> S.R.E. It is even possible to insert some junky
> opcodes by accident
> by using wrong overload of Emit method (like
> Emit(Ldarg_s,
> 0xdeadf00ddeadf00dULL)). 

This is exactly why we can write an IL verifier test 
suite with this ... Since we can generate invalid 
opcodes we can test the verifier directly . I was
just joking that we are supposed to build a Re.Emit
that really works , not something that is tested
"extensively" with invalid cases .

> error during generation. And verification is far
> more complex then just valid opcodes.

It's fairly easy to do a check for some of the 
Re.Emit operations . I find it interesting that
neither of those actually do .

Of course, doing stack analysis to match types is
and should be out of the Re.Emit's job.

/me goes back to debugging good old reflection (not
emit)

Gopal


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

From jonas@printzen.se Fri Apr 30 06:39:31 2004
Return-Path: <jonas@printzen.se>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 5391 invoked from network); 30 Apr 2004 06:39:30 -0000
Received: from unknown (HELO printzen.se) (194.236.142.104)
  by 0 with SMTP; 30 Apr 2004 06:39:30 -0000
Received: from localhost (localhost [127.0.0.1])
  (uid 1001)
  by printzen.se with local; Fri, 30 Apr 2004 09:18:08 +0200
References: <courier.4090D53C.00001FE4@printzen.se>
            <20040429104007.79421.qmail@web40001.mail.yahoo.com>
            <20040429155733.GA29030@roke.freak>
In-Reply-To: <20040429155733.GA29030@roke.freak> 
From: "Jonas Printzen" <jonas@printzen.net>
To: Michal Moskal <malekith@pld-linux.org>
Cc: Gopal V <gopalv82@yahoo.com>,
  Jonas Printzen <jonas@printzen.net>, pnet-developers@dotgnu.org
Date: Fri, 30 Apr 2004 09:18:07 +0200
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-ID: <courier.4091FDB0.00002E45@printzen.se>
Subject: [Pnet-developers] Re: back to Emit problems
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

> I believe there are no guarantees about validity of code generated by
> S.R.E. It is even possible to insert some junky opcodes by accident
> by using wrong overload of Emit method (like Emit(Ldarg_s,
> 0xdeadf00ddeadf00dULL)). Neither Mono nor MS .NET catches this kind of
> error during generation. And verification is far more complex then just
> valid opcodes.

Hmm... pretty interresting. That would imply that with
current Emit implementations one major argument for managed code
is down the drain? If there is a way to actually execute junk... 

But on the other hand, the argument probably gets truncated by the
next Emit() or EndScope(). After all, isn't the ILGenerator and
others hiding the 'program pointer'? The result would be junk
arguments, not junk opcodes. 

Correct me if I'm wrong... 

/Jonas 


From malekith@pld-linux.org Fri Apr 30 09:14:29 2004
Return-Path: <malekith@pld-linux.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 27038 invoked from network); 30 Apr 2004 09:14:29 -0000
Received: from unknown (HELO nemerle.org) (156.17.4.7)
  by 0 with SMTP; 30 Apr 2004 09:14:29 -0000
Received: from malekith by nemerle.org with local (Exim 4.24)
	id 1BJUjY-0001KC-2O; Fri, 30 Apr 2004 11:55:04 +0200
Date: Fri, 30 Apr 2004 11:52:24 +0200
From: Michal Moskal <malekith@pld-linux.org>
To: Jonas Printzen <jonas@printzen.net>
Cc: Gopal V <gopalv82@yahoo.com>, pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] Re: back to Emit problems
Message-ID: <20040430095224.GB13809@roke.freak>
Mail-Followup-To: Jonas Printzen <jonas@printzen.net>,
	Gopal V <gopalv82@yahoo.com>, pnet-developers@dotgnu.org
References: <courier.4090D53C.00001FE4@printzen.se> <20040429104007.79421.qmail@web40001.mail.yahoo.com> <20040429155733.GA29030@roke.freak> <courier.4091FDB0.00002E45@printzen.se>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <courier.4091FDB0.00002E45@printzen.se>
User-Agent: Mutt/1.4.2.1i
X-PGP-Fingerprint: CF89 1B14 11BE 1CC9 2CA3  7497 5E32 69B4 BC71 B4C2
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Fri, Apr 30, 2004 at 09:18:07AM +0200, Jonas Printzen wrote:
> 
> >I believe there are no guarantees about validity of code generated by
> >S.R.E. It is even possible to insert some junky opcodes by accident
> >by using wrong overload of Emit method (like Emit(Ldarg_s,
> >0xdeadf00ddeadf00dULL)). Neither Mono nor MS .NET catches this kind of
> >error during generation. And verification is far more complex then just
> >valid opcodes.
> 
> Hmm... pretty interresting. That would imply that with
> current Emit implementations one major argument for managed code
> is down the drain? If there is a way to actually execute junk... 

Managed code != S.R.E. Under Windows one need to have reflection
permission to actually generate and run code. And that ,,major
argument'' is that one can verify code before running it -- you can
generate assembly and the verify it.

S.R.E. is low level API. Plain and simple.

> But on the other hand, the argument probably gets truncated by the
> next Emit() or EndScope(). 

Nope. When using Emit(Ldarg_S, ((int)1)) you will easly see that

  ldarg.s 1
  nop
  nop
  nop

is generated. Opcode for nop is 0. Figure out the rest.

> After all, isn't the ILGenerator and
> others hiding the 'program pointer'? 

Emit() call simply puts bytes into method body.

-- 
: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: When in doubt, use brute force. -- Ken Thompson :: UL++++$ C++ E--- a?

From gopalv82@yahoo.com Fri Apr 30 09:55:58 2004
Return-Path: <gopalv82@yahoo.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 5108 invoked from network); 30 Apr 2004 09:55:58 -0000
Received: from unknown (HELO web40001.mail.yahoo.com) (66.218.78.19)
  by 0 with SMTP; 30 Apr 2004 09:55:58 -0000
Message-ID: <20040430103635.21311.qmail@web40001.mail.yahoo.com>
Received: from [202.144.8.165] by web40001.mail.yahoo.com via HTTP; Fri, 30 Apr 2004 03:36:35 PDT
Date: Fri, 30 Apr 2004 03:36:35 -0700 (PDT)
From: Gopal V <gopalv82@yahoo.com>
Subject: Re: [Pnet-developers] Re: back to Emit problems
To: Michal Moskal <malekith@pld-linux.org>,
  Jonas Printzen <jonas@printzen.net>
Cc: pnet-developers@dotgnu.org
In-Reply-To: <20040430095224.GB13809@roke.freak>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,


> Managed code != S.R.E. Under Windows one need to
> have reflection
> permission to actually generate and run code. And
> that ,,major
> argument'' is that one can verify code before
> running it -- you can
> generate assembly and the verify it.

You'll anyway verify it during execution (or just
before to be accurate)....

> Nope. When using Emit(Ldarg_S, ((int)1)) you will
> easly see that
> 
>   ldarg.s 1
>   nop
>   nop
>   nop
> 

That sucks .... it should be generating only one call.
Just check what pnet's doing ... IIRC it's doing only
2 byte output for ldarg.s 1 ... Rich333 ?.

> Emit() call simply puts bytes into method body.

We should be able to put stuff into the ILMethodCode
structure to be able to execute it dynamically ..

Gopal


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

