52 references to ContextCallback
mscorlib (32)
system\io\stream.cs (2)
674private static ContextCallback s_invokeAsyncCallback; 693var invokeAsyncCallback = s_invokeAsyncCallback;
system\runtime\compilerservices\AsyncMethodBuilder.cs (2)
1066ContextCallback callback = s_invokeMoveNext; 1082private static ContextCallback s_invokeMoveNext; // lazily-initialized due to SecurityCritical attribution
system\security\securitycontext.cs (4)
339public static void Run(SecurityContext securityContext, ContextCallback callback, Object state) 383internal static void RunInternal(SecurityContext securityContext, ContextCallback callBack, Object state) 398internal ContextCallback callBack; 401internal SecurityContextRunData(SecurityContext securityContext, ContextCallback cb, Object state)
system\threading\CancellationTokenSource.cs (2)
996private static ContextCallback s_executionContextCallback; 1008var callback = s_executionContextCallback;
system\threading\compressedstack.cs (3)
280public static void Run(CompressedStack compressedStack, ContextCallback callback, Object state) 301internal ContextCallback callBack; 304internal CompressedStackRunData(CompressedStack cs, ContextCallback cb, Object state)
system\threading\executioncontext.cs (3)
909public static void Run(ExecutionContext executionContext, ContextCallback callback, Object state) 925internal static void Run(ExecutionContext executionContext, ContextCallback callback, Object state, bool preserveSyncCtx) 935internal static void RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, bool preserveSyncCtx)
system\threading\overlapped.cs (1)
92static internal ContextCallback _ccb = new ContextCallback(IOCompletionCallback_Context);
system\threading\Tasks\Task.cs (2)
2818var callback = s_ecCallback; 2853private static ContextCallback s_ecCallback;
system\threading\Tasks\TaskContinuation.cs (7)
391private static ContextCallback s_postActionCallback; 472private static ContextCallback GetPostActionCallback() 474ContextCallback callback = s_postActionCallback; 725private static ContextCallback s_invokeActionCallback; 734protected static ContextCallback GetInvokeActionCallback() 736ContextCallback callback = s_invokeActionCallback; 746protected void RunCallback(ContextCallback callback, object state, ref Task currentTask)
system\threading\thread.cs (1)
60static internal ContextCallback _ccb = new ContextCallback(ThreadStart_Context);
system\threading\threadpool.cs (3)
1265static internal ContextCallback ccb = new ContextCallback(WaitCallback_Context); 1286static private ContextCallback _ccbt = new ContextCallback(WaitOrTimerCallback_Context_t); 1288static private ContextCallback _ccbf = new ContextCallback(WaitOrTimerCallback_Context_f);
system\threading\timer.cs (2)
709ContextCallback callback = s_callCallbackInContext; 723private static ContextCallback s_callCallbackInContext;
System (11)
net\System\Net\_NTAuthentication.cs (1)
135static private ContextCallback s_InitializeCallback = new ContextCallback(InitializeCallback);
net\System\Net\filewebrequest.cs (2)
21private static ContextCallback s_WrappedGetRequestStreamCallback = new ContextCallback(GetRequestStreamCallback); 22private static ContextCallback s_WrappedResponseCallback = new ContextCallback(GetResponseCallback);
net\System\Net\Internal.cs (2)
131private static volatile ContextCallback s_ContextRelativeDemandCallback; 133internal static ContextCallback ContextRelativeDemandCallback
net\System\Net\mail\smtpconnection.cs (1)
26private static readonly ContextCallback s_AuthenticateCallback = new ContextCallback(AuthenticateCallback);
net\System\Net\NetworkInformation\NetworkAddressChange.cs (2)
80private static ContextCallback s_RunHandlerCallback = new ContextCallback(RunHandlerCallback); 161static private ContextCallback s_runHandlerCallback = new ContextCallback(RunHandlerCallback);
net\System\Net\Sockets\Socket.cs (1)
8674private ContextCallback m_ExecutionCallback;
sys\system\threading\Barrier.cs (2)
153private static ContextCallback s_invokePostPhaseAction; 796ContextCallback handler = s_invokePostPhaseAction;
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlDependency.cs (1)
170static private ContextCallback _contextCallback = new ContextCallback(InvokeCallback);
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\AspNetPartialTrustHelpers.cs (1)
82internal static void PartialTrustInvoke(ContextCallback callback, object state)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (2)
39static ContextCallback contextOnBeginRequest; 236public static ContextCallback ContextOnBeginRequest
System.ServiceModel.Internals (2)
System\Runtime\ActionItem.cs (2)
167static ContextCallback onContextAppliedCallback; 197public static ContextCallback OnContextAppliedCallback
System.Web (1)
Util\ExecutionContextUtil.cs (1)
18private static readonly ContextCallback s_actionToActionObjShunt = obj => ((Action)obj)();
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Control.cs (1)
310private static ContextCallback invokeMarshaledCallbackHelperDelegate;
WindowsBase (1)
Base\System\Windows\Threading\DispatcherOperation.cs (1)
742private static readonly ContextCallback _invokeInSecurityContext;