Yes, by default only mscorlib is shared. You can override the default
using the LoaderOptimization enumeration (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemloaderoptimizationclasstopic.asp for more information).
I'm not sure I understand the second question. If the assembly is going to
be loaded in multiple appdomains, then sharing is the most efficient choice
(otherwise the CLR will generate code for this assembly in each appdomain
in which it's loaded).
Thanks!
-- Ori.
--------------------
>Date: Tue, 24 Aug 2004 14:00:42 +0200
>From: =?ISO-8859-1?Q?ESCOFFIER_Cl=E9ment?= <clement.escoffier@imag.fr>
[quoted text clipped - 13 lines]
>X-Complaints-To: abuse@proxad.net
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!newsfeed.icl.net!proxad.net!feeder2-1.proxad.net!
news3-e.free.fr!not-for-mail
>Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.clr:11689
>X-Tomcat-NG: microsoft.public.dotnet.framework.clr
[quoted text clipped - 11 lines]
>
>Clement

Signature
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.