I had sent the similar issue a long ago but time has passed over it so i'm
sending one more time, this time with a test case.

public class FooClass:IFoo
public class ImplementedFoo : IFooExtended


var v=new FooClass();

ProxyGenerator generator = new ProxyGenerator();
IFoo proxiedFoo =
(IFoo)generator.CreateInterfaceProxyWithTargetInterface(typeof(IFoo),new
Type[]{typeof(IFooExtended)}, new FooClass(),
ProxyGenerationOptions.Default, new StandardInterceptor());

proxiedFoo.Foo();


in another project, I got

System.NotImplementedException: This is a DynamicProxy2 error: the
interceptor attempted to 'Proceed' for a method without a target, for
example, an interface method or an abstract method

but for this test, resharper runner and gallio runner crashes.

Thanks in advance.



Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Attachment: castle_interface_inheritance.patch
Description: Binary data

Reply via email to