71 references to GetDomain
mscorlib (34)
system\appdomain.cs (1)
2107
return Thread.
GetDomain
();
system\io\isolatedstorage\isolatedstorage.cs (2)
575
domain = Thread.
GetDomain
();
629
domain = Thread.
GetDomain
();
system\runtime\interopservices\marshal.cs (1)
1639
Assembly[] aAssemblies = Thread.
GetDomain
().GetAssemblies();
system\runtime\interopservices\typelibconverter.cs (2)
137
AppDomain currentDomain = Thread.
GetDomain
();
233
AppDomain currentDomain = Thread.
GetDomain
();
system\runtime\remoting\activationservices.cs (5)
81
DomainSpecificRemotingData remData = Thread.
GetDomain
().RemotingData;
889
DomainSpecificRemotingData remData = Thread.
GetDomain
().RemotingData;
906
Thread.
GetDomain
().RemotingData.ActivationListener,
933
DomainSpecificRemotingData remData = Thread.
GetDomain
().RemotingData;
952
DomainSpecificRemotingData remData = Thread.
GetDomain
().RemotingData;
system\runtime\remoting\channelservices.cs (2)
83
get { return Thread.
GetDomain
().RemotingData.ChannelServicesData.remoteCalls; }
84
set { Thread.
GetDomain
().RemotingData.ChannelServicesData.remoteCalls = value; }
system\runtime\remoting\context.cs (2)
117
DomainSpecificRemotingData data = Thread.
GetDomain
().RemotingData;
201
return Thread.
GetDomain
().GetDefaultContext();
system\runtime\remoting\crossappdomainchannel.cs (4)
39
get { return Thread.
GetDomain
().RemotingData.ChannelServicesData.xadmessageSink; }
40
set { Thread.
GetDomain
().RemotingData.ChannelServicesData.xadmessageSink = value; }
107
Thread.
GetDomain
().GetId(),
216
(Thread.
GetDomain
().GetId() == _DomainID);
system\runtime\remoting\crosscontextchannel.cs (2)
35
get { return Thread.
GetDomain
().RemotingData.ChannelServicesData.xctxmessageSink; }
36
set { Thread.
GetDomain
().RemotingData.ChannelServicesData.xctxmessageSink = value; }
system\runtime\remoting\identityholder.cs (3)
82
_cachedDefaultContext = Thread.
GetDomain
().GetDefaultContext();
103
get { return Thread.
GetDomain
().RemotingData.IDTableLock;}
113
Thread.
GetDomain
().RemotingData.IDTableLock.IsWriterLockHeld,
system\runtime\remoting\leasemanager.cs (3)
43
DomainSpecificRemotingData remotingData = Thread.
GetDomain
().RemotingData;
51
DomainSpecificRemotingData remotingData = Thread.
GetDomain
().RemotingData;
70
DomainSpecificRemotingData remotingData = Thread.
GetDomain
().RemotingData;
system\runtime\remoting\remotingservices.cs (3)
303
Object configLock = Thread.
GetDomain
().RemotingData.ConfigLock;
430
serverCtx = Thread.
GetDomain
().GetDefaultContext();
2272
domainId = Thread.
GetDomain
().GetId();
system\string.cs (2)
3340
return Thread.
GetDomain
().GetOrInternString(str);
3352
return Thread.
GetDomain
().IsStringInterned(str);
system\threading\thread.cs (2)
1404
principal =
GetDomain
().GetThreadPrincipal();
1490
return
GetDomain
().GetId();
System (2)
compmod\microsoft\win32\SystemEvents.cs (1)
562
if (Thread.
GetDomain
().GetData(".appDomain") != null) {
net\System\Net\Internal.cs (1)
708
IsAspNetServer = (Thread.
GetDomain
().GetData(".appDomain") != null);
System.Runtime.Caching (2)
System\Caching\MemoryCache.cs (2)
183
AppDomain appDomain = Thread.
GetDomain
();
415
AppDomain appDomain = Thread.
GetDomain
();
System.ServiceModel (1)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
49
assemblyBuilder = Thread.
GetDomain
().DefineDynamicAssembly(assemblyName, AssemblyBuilderAccess.Run);
System.Web (28)
Compilation\BuildManagerHost.cs (2)
580
Thread.
GetDomain
().DomainUnload += _onAppDomainUnload;
599
Thread.
GetDomain
().DomainUnload -= _onAppDomainUnload;
Compilation\BuildResultCache.cs (1)
943
AppDomainSetup appDomainSetup = Thread.
GetDomain
().SetupInformation;
Configuration\ExpressServerConfig.cs (1)
35
if (Thread.
GetDomain
().IsDefaultAppDomain()) {
Configuration\serverconfig.cs (2)
44
if (Thread.
GetDomain
().IsDefaultAppDomain() || (s_iisExpressVersion != null && s_iisExpressVersion != value ))
114
if (!Thread.
GetDomain
().IsDefaultAppDomain()) {
Hosting\HostingEnvironment.cs (3)
190
Thread.
GetDomain
().DomainUnload += _onAppDomainUnload;
195
Thread.
GetDomain
().UnhandledException += new UnhandledExceptionEventHandler(ApplicationManager.OnUnhandledException);
235
Thread.
GetDomain
().DomainUnload -= _onAppDomainUnload;
Hosting\IIS7WorkerRequest.cs (1)
126
if (EtwTrace.IsTraceEnabled(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_APPDOMAIN_ENTER, this, Thread.
GetDomain
().FriendlyName);
Hosting\ISAPIWorkerRequest.cs (2)
1055
if (EtwTrace.IsTraceEnabled(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_APPDOMAIN_ENTER, ecb, Thread.
GetDomain
().FriendlyName, null, false);
1069
if (EtwTrace.IsTraceEnabled(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_APPDOMAIN_ENTER, ecb, Thread.
GetDomain
().FriendlyName, null, true);
Hosting\SimpleWorkerRequest.cs (3)
381
_appPhysPath = Thread.
GetDomain
().GetData(".appPath").ToString();
382
_appVirtPath = Thread.
GetDomain
().GetData(".appVPath").ToString();
399
if (Thread.
GetDomain
().GetData(".appPath") != null) {
HttpRuntime.cs (6)
871
AppDomain appDomain = Thread.
GetDomain
();
992
_codegenDir = Thread.
GetDomain
().DynamicDirectory;
1000
AppDomain appDomain = Thread.
GetDomain
();
1892
AppDomain.Unload(Thread.
GetDomain
());
3069
Object x = Thread.
GetDomain
().GetData(key);
3076
AppDomain d = Thread.
GetDomain
();
Management\WebEvents.cs (1)
1876
_appDomain = Thread.
GetDomain
().FriendlyName;
State\OutOfProcStateClientManager.cs (2)
120
Thread.
GetDomain
().DomainUnload += s_onAppDomainUnload;
128
Thread.
GetDomain
().DomainUnload -= s_onAppDomainUnload;
State\sqlstateclientmanager.cs (2)
157
Thread.
GetDomain
().DomainUnload += s_onAppDomainUnload;
166
Thread.
GetDomain
().DomainUnload -= s_onAppDomainUnload;
Util\FactoryGenerator.cs (1)
129
Thread.
GetDomain
().DefineDynamicAssembly(assemblyName,
Util\FastPropertyAccessor.cs (1)
95
Thread.
GetDomain
().DefineDynamicAssembly(assemblyName,
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
143
Thread.
GetDomain
().DefineDynamicAssembly(assemblyName,
System.Web.Services (2)
System\Web\Services\Configuration\WebServicesSection.cs (2)
66
if (Thread.
GetDomain
().GetData(".appDomain") != null) {
169
if (Thread.
GetDomain
().GetData(".appDomain") != null) {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
50
AppDomain currentDomain = Thread.
GetDomain
();