Ok, ignore my mumblings...  :)

I just tried a quick test and DP does let you create a proxy for an
empty interface.  So the problem lies elsewhere...

---
Patrick Steele
http://weblogs.asp.net/psteele



On Fri, Jan 28, 2011 at 9:36 AM, Patrick Steele
<[email protected]> wrote:
> I have no idea of the inner workings on Dynamic Proxy (and I didn't
> check out the stack trace you posted), but I'm just trying to
> understand why you would want to proxy an empty interface.  What is it
> you want to do with the proxy -- it's obviously not method
> interception.  ;)
>
> And to be clear, I'm not trying to dissuade what it is you're trying
> to do.  My gut feeling is that it may not be supported (proxying an
> interface with no methods).
>
> ---
> Patrick Steele
> http://weblogs.asp.net/psteele
>
>
>
> On Fri, Jan 28, 2011 at 9:25 AM, Nick Peeples <[email protected]> wrote:
>> Just an example that happens to also double as a failing case, if this is
>> possible. It is not what I'm actually doing, but has the intent of what I
>> want to do :)
>>
>> --
>> 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.
>>
>

-- 
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.

Reply via email to