3 writes to TaskMethod
System.ServiceModel.Primitives (3)
System\ServiceModel\Description\TypeLoader.cs (3)
921
existingOp.
TaskMethod
= newOp.TaskMethod;
955
newOp.
TaskMethod
= existingOp.TaskMethod;
1040
operationDescription.
TaskMethod
= methodInfo;
43 references to TaskMethod
System.ServiceModel.Primitives (42)
System\ServiceModel\Description\DispatcherBuilder.cs (1)
126
child.TaskMethod = operation.
TaskMethod
;
System\ServiceModel\Description\OperationDescription.cs (1)
80
return
TaskMethod
?? BeginMethod;
System\ServiceModel\Description\TypeLoader.cs (35)
427
else if (opDesc.SyncMethod != null && opDesc.
TaskMethod
!= null)
429
ProcessOpMethod(opDesc.
TaskMethod
, false, opDesc, result, targetIface, implType, useImplAttrs);
431
else if (opDesc.
TaskMethod
!= null && opDesc.BeginMethod != null)
487
else if (opDesc.SyncMethod != null && opDesc.
TaskMethod
!= null)
493
opDesc.
TaskMethod
.Name,
497
else if (opDesc.
TaskMethod
!= null && opDesc.BeginMethod != null)
501
opDesc.
TaskMethod
.Name,
502
opDesc.
TaskMethod
.DeclaringType,
891
if (existingOp.
TaskMethod
!= null && isTask)
921
existingOp.TaskMethod = newOp.
TaskMethod
;
955
newOp.TaskMethod = existingOp.
TaskMethod
;
957
if (existingOp.
TaskMethod
!= null)
1784
_taskInputs = ServiceReflector.GetInputParameters(_taskOperation.
TaskMethod
, false);
1795
_taskOperation.
TaskMethod
.Name,
1810
_taskOperation.
TaskMethod
.Name,
1824
_taskOperation.
TaskMethod
.Name,
1837
_taskOperation.
TaskMethod
.Name,
1851
_taskOperation.
TaskMethod
.Name,
1865
_taskOperation.
TaskMethod
.Name,
1881
_taskOperation.
TaskMethod
.Name,
1900
_taskInputs = ServiceReflector.GetInputParameters(_taskOperation.
TaskMethod
, false);
1910
_taskOperation.
TaskMethod
.Name,
1911
_taskOperation.
TaskMethod
.DeclaringType,
1926
_taskOperation.
TaskMethod
.Name,
1927
_taskOperation.
TaskMethod
.DeclaringType,
1941
_taskOperation.
TaskMethod
.Name,
1942
_taskOperation.
TaskMethod
.DeclaringType,
1955
_taskOperation.
TaskMethod
.Name,
1956
_taskOperation.
TaskMethod
.DeclaringType,
1970
_taskOperation.
TaskMethod
.Name,
1971
_taskOperation.
TaskMethod
.DeclaringType,
1985
_taskOperation.
TaskMethod
.Name,
1986
_taskOperation.
TaskMethod
.DeclaringType,
2002
_taskOperation.
TaskMethod
.Name,
2003
_taskOperation.
TaskMethod
.DeclaringType,
System\ServiceModel\Dispatcher\OperationInvokerBehavior.cs (2)
36
if (description.
TaskMethod
!= null)
38
dispatch.Invoker = new TaskMethodInvoker(description.
TaskMethod
, description.TaskTResult);
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (3)
66
if (operation.
TaskMethod
!= null)
68
if (!_operationMap.ContainsKey(operation.
TaskMethod
.MethodHandle.Value))
70
_operationMap.Add(operation.
TaskMethod
.MethodHandle.Value, operation.Name);
UnitTests.Common (1)
TestHelpers.cs (1)
163
bool hasTask = op.
TaskMethod
!= null;