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