Hi there, 
        
The issue DYNPROXY-ISSUE-83 was just created by Krzysztof Ko?mic (xtoff).
        
        Key: DYNPROXY-ISSUE-83
        Summary: Proxies don't have deserialization .ctor
        Type: Bug
        Importance: High
        
        Description:
        The following test, fails...
            [Test]
            public void Should_be_able_to_proxy_proxy()
            {
                var proxy = generator.CreateInterfaceProxyWithoutTarget( 
typeof( IService ), new[] { typeof( IService2 ) } );
                var proxyProxy = generator.CreateClassProxy( proxy.GetType() );
                Assert.IsNotNull( proxyProxy );
            }
With the following error message: "The type 
IServiceProxy9d58b27761134714ab02d2aa844b3e66 implements ISerializable, but 
failed to provide a deserialization constructor"
This is due to the fact, that ISerializable, that is implemented for every 
proxy type has an implicit requirement that class that implements it has a 
.ctor with the following signature: (SerializationInfo information, 
StreamingContext context)
Proxies don't have it.
        
For more, see 
http://support.castleproject.org/projects/DYNPROXY/issues/view/DYNPROXY-ISSUE-83
 
        
--
donjon
by Castle Stronghold
http://www.castle-donjon.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to