[Mono-dev] AppDomain Support

Christian Smith smith.cba at gmail.com
Wed Dec 11 18:49:10 UTC 2013


Hi Andres,

I jumped the gun on thinking it wasn't implemented, don't believe the first
SO post you read...

We are having an issue though with type comparison between two domains
though.

We have domain A & B, both reference the same assembly with a class
'MyType'.  Domain A passes MyType to domain B via a generic function.  This
function in Domain B has a check:

        public override T CreateInstance<T>()
        {
            return (T)(CreateInstanceCore(typeof(T)));
        }

        protected object CreateInstanceCore(Type type)
        {
                if (type == typeof(MyType))
                {
                    return new BlahBlah();
                }

This works fine using .Net, but fails with Mono.

Have you seen anything like this before?


On 11 December 2013 23:42, "Andrés G. Aragoneses" <knocte at gmail.com> wrote:

> On 11/12/13 03:33, Christian Smith wrote:
> > I was wondering what the current status of AppDomain support is and what
> > the plans for this are?  I.e. is it not implemented?  70% implemented
> etc...
>
> AFAIK it's fully implemented. Do you see any problems with it?
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20131212/fe9a7110/attachment.html>


More information about the Mono-devel-list mailing list