2 writes to SyncMethod
System.ServiceModel (2)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
191
operationDescription.
SyncMethod
= methodInfo;
System\ServiceModel\Description\TypeLoader.cs (1)
980
operationDescription.
SyncMethod
= methodInfo;
68 references to SyncMethod
System.ServiceModel (63)
System\ServiceModel\Administration\ContractInstanceProvider.cs (5)
86
if (null != operationDescription.
SyncMethod
)
88
if (null != operationDescription.
SyncMethod
.ReturnType)
90
operation.SetProperty(AdministrationStrings.ReturnType, operationDescription.
SyncMethod
.ReturnType.Name);
92
operation.SetProperty(AdministrationStrings.MethodSignature, operationDescription.
SyncMethod
.ToString());
93
ParameterInfo[] parameterInfo = operationDescription.
SyncMethod
.GetParameters();
System\ServiceModel\Description\DispatcherBuilder.cs (1)
985
child.SyncMethod = operation.
SyncMethod
;
System\ServiceModel\Description\OperationDescription.cs (2)
106
if (this.
SyncMethod
== null)
112
return this.
SyncMethod
;
System\ServiceModel\Description\TaskOperationDescriptionValidator.cs (2)
34
if (operation.
SyncMethod
!= null)
37
string method2Name = operation.
SyncMethod
.Name;
System\ServiceModel\Description\TypeLoader.cs (47)
431
if (opDesc.
SyncMethod
!= null && opDesc.BeginMethod != null)
435
else if (opDesc.
SyncMethod
!= null && opDesc.TaskMethod != null)
486
if (opDesc.
SyncMethod
!= null && opDesc.BeginMethod != null)
490
opDesc.
SyncMethod
.Name,
491
opDesc.
SyncMethod
.DeclaringType,
497
else if (opDesc.
SyncMethod
!= null && opDesc.TaskMethod != null)
501
opDesc.
SyncMethod
.Name,
502
opDesc.
SyncMethod
.DeclaringType,
841
if (!isAsync && !isTask && (existingOp.
SyncMethod
!= null))
843
string method1Name = existingOp.
SyncMethod
.Name;
861
if (existingOp.
SyncMethod
!= null)
877
if (existingOp.
SyncMethod
!= null)
1546
this.syncInputs = ServiceReflector.GetInputParameters(this.syncOperation.
SyncMethod
, false);
1548
this.syncOutputs = ServiceReflector.GetOutputParameters(this.syncOperation.
SyncMethod
, false);
1558
this.syncOperation.
SyncMethod
.Name,
1559
this.syncOperation.
SyncMethod
.DeclaringType,
1574
this.syncOperation.
SyncMethod
.Name,
1575
this.syncOperation.
SyncMethod
.DeclaringType,
1591
this.syncOperation.
SyncMethod
.Name,
1592
this.syncOperation.
SyncMethod
.DeclaringType,
1602
if (this.syncOperation.
SyncMethod
.ReturnType != this.syncOperation.EndMethod.ReturnType)
1606
this.syncOperation.
SyncMethod
.Name,
1607
this.syncOperation.
SyncMethod
.DeclaringType,
1620
this.syncOperation.
SyncMethod
.Name,
1621
this.syncOperation.
SyncMethod
.DeclaringType,
1636
this.syncOperation.
SyncMethod
.Name,
1637
this.syncOperation.
SyncMethod
.DeclaringType,
1651
this.syncOperation.
SyncMethod
.Name,
1652
this.syncOperation.
SyncMethod
.DeclaringType,
1668
this.syncOperation.
SyncMethod
.Name,
1669
this.syncOperation.
SyncMethod
.DeclaringType,
1690
this.syncInputs = ServiceReflector.GetInputParameters(this.syncOperation.
SyncMethod
, false);
1700
this.syncOperation.
SyncMethod
.Name,
1701
this.syncOperation.
SyncMethod
.DeclaringType,
1715
this.syncOperation.
SyncMethod
.Name,
1716
this.syncOperation.
SyncMethod
.DeclaringType,
1725
if (this.syncOperation.
SyncMethod
.ReturnType != this.syncOperation.TaskTResult)
1729
this.syncOperation.
SyncMethod
.Name,
1730
this.syncOperation.
SyncMethod
.DeclaringType,
1742
this.syncOperation.
SyncMethod
.Name,
1743
this.syncOperation.
SyncMethod
.DeclaringType,
1757
this.syncOperation.
SyncMethod
.Name,
1758
this.syncOperation.
SyncMethod
.DeclaringType,
1771
this.syncOperation.
SyncMethod
.Name,
1772
this.syncOperation.
SyncMethod
.DeclaringType,
1787
this.syncOperation.
SyncMethod
.Name,
1788
this.syncOperation.
SyncMethod
.DeclaringType,
System\ServiceModel\Dispatcher\OperationInvokerBehavior.cs (3)
40
else if (description.
SyncMethod
!= null)
52
dispatch.Invoker = new SyncMethodInvoker(description.
SyncMethod
);
58
dispatch.Invoker = new SyncMethodInvoker(description.
SyncMethod
);
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (3)
48
if (operation.
SyncMethod
!= null)
50
if (!operationMap.ContainsKey(operation.
SyncMethod
.MethodHandle))
51
operationMap.Add(operation.
SyncMethod
.MethodHandle, operation.Name);
System.ServiceModel.Web (3)
System\ServiceModel\Description\WebHttpBehavior.cs (2)
400
if (od.
SyncMethod
!= null)
402
attributes = od.
SyncMethod
.GetCustomAttributes(typeof(DescriptionAttribute), true);
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
304
dispatchOperation.Invoker = new SyncMethodInvoker(metadataOperation.
SyncMethod
);
System.WorkflowServices (2)
System\ServiceModel\Dispatcher\WorkflowOperationInvoker.cs (2)
56
this.syncMethod = operationDescription.
SyncMethod
;
57
inParameterCount = GetFlowedInParameterCount(operationDescription.
SyncMethod
.GetParameters());