[Mono-dev] AppDomain Support

Christian Smith smith.cba at gmail.com
Wed Dec 11 21:54:32 UTC 2013


I will do.  I'm trying to come to reproduce the issue outside of our app,
when I do I'll attach the test to a bug.


On 12 December 2013 09:52, Rodrigo Kumpera <kumpera at gmail.com> wrote:

> Can you file a bug report with a full test case? This way we can have a
> way to fix it?
>
>
> On Wed, Dec 11, 2013 at 1:49 PM, Christian Smith <smith.cba at gmail.com>wrote:
>
>> 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
>>>
>>
>>
>> _______________________________________________
>> 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/a1068d31/attachment.html>


More information about the Mono-devel-list mailing list