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