2 instantiations of ThreadContext
System.Web (2)
HttpApplication.cs (1)
2112
ThreadContext threadContext = new
ThreadContext
(_context);
WebSocketPipeline.cs (1)
169
ThreadContext threadContext = new
ThreadContext
(_httpContext);
22 references to ThreadContext
System.Web (22)
Hosting\AspNetHostExecutionContextManager.cs (4)
33
ThreadContext
currentContext =
ThreadContext
.Current;
71
ThreadContext
currentContext =
ThreadContext
.Current;
Hosting\IPipelineRuntime.cs (1)
615
ThreadContext
threadContext = context.IndicateCompletionContext;
HttpApplication.cs (6)
2111
private
ThreadContext
OnThreadEnterPrivate(bool setImpersonationContext) {
2112
ThreadContext
threadContext = new ThreadContext(_context);
2141
internal
ThreadContext
OnThreadEnter() {
2145
internal
ThreadContext
OnThreadEnter(bool setImpersonationContext) {
3876
ThreadContext
threadContext = null;
4076
ThreadContext
threadContext = null;
HttpContext.cs (1)
152
internal volatile
ThreadContext
IndicateCompletionContext = null;
HttpRuntime.cs (1)
1588
ThreadContext
threadContext = context.IndicateCompletionContext;
LegacyAspNetSynchronizationContext.cs (1)
58
ThreadContext
threadContext = null;
ThreadContext.cs (3)
22
private static
ThreadContext
_currentThreadContext;
27
private
ThreadContext
_originalThreadContextCurrent;
37
internal static
ThreadContext
Current {
UI\LegacyPageAsyncTask.cs (1)
165
ThreadContext
threadContext = null;
UI\LegacyPageAsyncTaskManager.cs (1)
211
ThreadContext
threadContext = null;
UI\Page.cs (1)
5839
ThreadContext
threadContext = null;
Util\AspCompat.cs (1)
399
ThreadContext
threadContext = null;
WebSocketPipeline.cs (1)
169
ThreadContext
threadContext = new ThreadContext(_httpContext);