1 write to SyncMethod
System.ServiceModel.Primitives (1)
System\ServiceModel\Description\TypeLoader.cs (1)
1045operationDescription.SyncMethod = methodInfo;
58 references to SyncMethod
System.ServiceModel.Primitives (55)
System\ServiceModel\Description\DispatcherBuilder.cs (1)
128child.SyncMethod = operation.SyncMethod;
System\ServiceModel\Description\OperationDescription.cs (2)
78if (SyncMethod == null) 84return SyncMethod;
System\ServiceModel\Description\TypeLoader.cs (47)
423if (opDesc.SyncMethod != null && opDesc.BeginMethod != null) 427else if (opDesc.SyncMethod != null && opDesc.TaskMethod != null) 476if (opDesc.SyncMethod != null && opDesc.BeginMethod != null) 480opDesc.SyncMethod.Name, 481opDesc.SyncMethod.DeclaringType, 487else if (opDesc.SyncMethod != null && opDesc.TaskMethod != null) 491opDesc.SyncMethod.Name, 492opDesc.SyncMethod.DeclaringType, 903if (!isAsync && !isTask && (existingOp.SyncMethod != null)) 905string method1Name = existingOp.SyncMethod.Name; 923if (existingOp.SyncMethod != null) 939if (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, 1696if (_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, 1818if (_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)
40else if (description.SyncMethod != null) 50dispatch.Invoker = new SyncMethodInvoker(description.SyncMethod);
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (3)
49if (operation.SyncMethod != null) 51if (!_operationMap.ContainsKey(operation.SyncMethod.MethodHandle.Value)) 53_operationMap.Add(operation.SyncMethod.MethodHandle.Value, operation.Name);
System.ServiceModel.Primitives.Tests (3)
Description\ContractDescriptionTest.cs (3)
231Assert.NotNull(operation.SyncMethod); 234Assert.Equal(typeof(IDescriptionTestsService).GetMethod(nameof(IDescriptionTestsService.Echo)), operation.SyncMethod); 238Assert.Equal(typeof(IDescriptionTestsService).GetMethod(nameof(IDescriptionTestsService.MessageRequestReply)), operation.SyncMethod);