1 write to SyncMethod
System.ServiceModel.Primitives (1)
System\ServiceModel\Description\TypeLoader.cs (1)
1045
operationDescription.
SyncMethod
= methodInfo;
58 references to SyncMethod
System.ServiceModel.Primitives (55)
System\ServiceModel\Description\DispatcherBuilder.cs (1)
128
child.SyncMethod = operation.
SyncMethod
;
System\ServiceModel\Description\OperationDescription.cs (2)
78
if (
SyncMethod
== null)
84
return
SyncMethod
;
System\ServiceModel\Description\TypeLoader.cs (47)
423
if (opDesc.
SyncMethod
!= null && opDesc.BeginMethod != null)
427
else if (opDesc.
SyncMethod
!= null && opDesc.TaskMethod != null)
476
if (opDesc.
SyncMethod
!= null && opDesc.BeginMethod != null)
480
opDesc.
SyncMethod
.Name,
481
opDesc.
SyncMethod
.DeclaringType,
487
else if (opDesc.
SyncMethod
!= null && opDesc.TaskMethod != null)
491
opDesc.
SyncMethod
.Name,
492
opDesc.
SyncMethod
.DeclaringType,
903
if (!isAsync && !isTask && (existingOp.
SyncMethod
!= null))
905
string method1Name = existingOp.
SyncMethod
.Name;
923
if (existingOp.
SyncMethod
!= null)
939
if (existingOp.
SyncMethod
!= null)
1640
_syncInputs = ServiceReflector.GetInputParameters(_syncOperation.
SyncMethod
, false);
1642
_syncOutputs = ServiceReflector.GetOutputParameters(_syncOperation.
SyncMethod
, false);
1652
_syncOperation.
SyncMethod
.Name,
1653
_syncOperation.
SyncMethod
.DeclaringType,
1668
_syncOperation.
SyncMethod
.Name,
1669
_syncOperation.
SyncMethod
.DeclaringType,
1685
_syncOperation.
SyncMethod
.Name,
1686
_syncOperation.
SyncMethod
.DeclaringType,
1696
if (_syncOperation.
SyncMethod
.ReturnType != _syncOperation.EndMethod.ReturnType)
1700
_syncOperation.
SyncMethod
.Name,
1701
_syncOperation.
SyncMethod
.DeclaringType,
1714
_syncOperation.
SyncMethod
.Name,
1715
_syncOperation.
SyncMethod
.DeclaringType,
1729
_syncOperation.
SyncMethod
.Name,
1730
_syncOperation.
SyncMethod
.DeclaringType,
1744
_syncOperation.
SyncMethod
.Name,
1745
_syncOperation.
SyncMethod
.DeclaringType,
1761
_syncOperation.
SyncMethod
.Name,
1762
_syncOperation.
SyncMethod
.DeclaringType,
1783
_syncInputs = ServiceReflector.GetInputParameters(_syncOperation.
SyncMethod
, false);
1793
_syncOperation.
SyncMethod
.Name,
1794
_syncOperation.
SyncMethod
.DeclaringType,
1808
_syncOperation.
SyncMethod
.Name,
1809
_syncOperation.
SyncMethod
.DeclaringType,
1818
if (_syncOperation.
SyncMethod
.ReturnType != _syncOperation.TaskTResult)
1822
_syncOperation.
SyncMethod
.Name,
1823
_syncOperation.
SyncMethod
.DeclaringType,
1835
_syncOperation.
SyncMethod
.Name,
1836
_syncOperation.
SyncMethod
.DeclaringType,
1849
_syncOperation.
SyncMethod
.Name,
1850
_syncOperation.
SyncMethod
.DeclaringType,
1863
_syncOperation.
SyncMethod
.Name,
1864
_syncOperation.
SyncMethod
.DeclaringType,
1879
_syncOperation.
SyncMethod
.Name,
1880
_syncOperation.
SyncMethod
.DeclaringType,
System\ServiceModel\Dispatcher\OperationInvokerBehavior.cs (2)
40
else if (description.
SyncMethod
!= null)
50
dispatch.Invoker = new SyncMethodInvoker(description.
SyncMethod
);
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (3)
49
if (operation.
SyncMethod
!= null)
51
if (!_operationMap.ContainsKey(operation.
SyncMethod
.MethodHandle.Value))
53
_operationMap.Add(operation.
SyncMethod
.MethodHandle.Value, operation.Name);
System.ServiceModel.Primitives.Tests (3)
Description\ContractDescriptionTest.cs (3)
231
Assert.NotNull(operation.
SyncMethod
);
234
Assert.Equal(typeof(IDescriptionTestsService).GetMethod(nameof(IDescriptionTestsService.Echo)), operation.
SyncMethod
);
238
Assert.Equal(typeof(IDescriptionTestsService).GetMethod(nameof(IDescriptionTestsService.MessageRequestReply)), operation.
SyncMethod
);