Return-Path: Delivered-To: apmail-avalon-dev-archive@www.apache.org Received: (qmail 62455 invoked from network); 8 Nov 2004 06:36:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Nov 2004 06:36:46 -0000 Received: (qmail 65708 invoked by uid 500); 8 Nov 2004 06:36:37 -0000 Delivered-To: apmail-avalon-dev-archive@avalon.apache.org Received: (qmail 65508 invoked by uid 500); 8 Nov 2004 06:36:35 -0000 Mailing-List: contact dev-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list dev@avalon.apache.org Received: (qmail 65477 invoked by uid 99); 8 Nov 2004 06:36:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 07 Nov 2004 22:36:33 -0800 Received: (qmail 12277 invoked from network); 8 Nov 2004 06:36:32 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 8 Nov 2004 06:36:32 -0000 Message-ID: <2003194303.1099895792246.JavaMail.apache@nagoya> Date: Sun, 7 Nov 2004 22:36:32 -0800 (PST) From: "Jerry Shea (JIRA)" To: dev@avalon.apache.org Subject: [jira] Created: (AVNSHARP-8) ProxyGenerator throws System.ExecutionEngineException on executing a generated Guid property Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ProxyGenerator throws System.ExecutionEngineException on executing a generated Guid property -------------------------------------------------------------------------------------------- Key: AVNSHARP-8 URL: http://nagoya.apache.org/jira/browse/AVNSHARP-8 Project: Avalon Castle Type: Bug Environment: Windows XP SP2, .NET FW 1.1.4322.573 Reporter: Jerry Shea Assigned to: hamilton verissimo First, well done for a fantastic job with the DynamicProxy code! Unfortunately I have found a bug which is beyond my knowledge of generated IL - I am trying to generate a DynamicProxy for a class which has a Guid property. Try pasting this code at the bottom of CustomProxyGeneratorTestCase. When you run it it will throw an System.ExecutionEngineException when it executes the last line i.e. when it tries to execute inter.GooId. public class GuidClass { public virtual Guid GooId { get { return Guid.NewGuid(); } } } [Test] public void ProxyForClassWithGuidProperty() { object proxy = m_generator.CreateClassProxy( typeof(GuidClass), new ResultModifiedInvocationHandler( new GuidClass() ) ); Assert.IsNotNull( proxy ); Assert.IsTrue( typeof(GuidClass).IsAssignableFrom( proxy.GetType() ) ); GuidClass inter = (GuidClass) proxy; Assert.IsNotNull( inter.GooId ); } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org For additional commands, e-mail: dev-help@avalon.apache.org