62 references to ServiceReflector
System.ServiceModel.Primitives (62)
System\ServiceModel\Channels\MethodCall.cs (2)
43if (ServiceReflector.FlowsIn(param)) 58if (ServiceReflector.FlowsIn(parameters[argPos]))
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
165if (operation.TaskTResult == ServiceReflector.VoidType)
System\ServiceModel\Description\ServiceReflector.cs (3)
455if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(service) != null) 468if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(t) != null) 475if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(service) != null)
System\ServiceModel\Description\TypeLoader.cs (48)
70Type actualContractType = ServiceReflector.GetContractTypeAndAttribute(contractType, out actualContractAttribute); 109if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(service) != null) 133if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(aParentType) == null) 138Type operationContractProviderType = ServiceReflector.GetOperationContractProviderType(methodInfo); 214ServiceContractAttribute contractAttr = ServiceReflector.GetRequiredSingleAttribute<ServiceContractAttribute>(reflectionInfo.iface); 307object[] ifaceAttributes = ServiceReflector.GetCustomAttributes(interfaceType, typeof(IContractBehavior), false); 321foreach (IContractBehavior iContractBehavior in ServiceReflector.GetCustomAttributes(currentType, typeof(IContractBehavior), false)) 330object[] customAttributes = ServiceReflector.GetCustomAttributes(reflectionInfo.iface, typeof(ServiceKnownTypeAttribute), false); 345customAttributes = ServiceReflector.GetCustomAttributes(reflectionInfo.callbackiface, typeof(ServiceKnownTypeAttribute), false); 466object[] methodAttributes = ServiceReflector.GetCustomAttributes(method, typeof(IOperationBehavior), false); 608foreach (IEndpointBehavior behaviorAttribute in ServiceReflector.GetCustomAttributes(implementationType, typeof(IEndpointBehavior), false)) 619foreach (IContractBehavior behaviorAttribute in ServiceReflector.GetCustomAttributes(implementationType, typeof(IContractBehavior), false)) 702ServiceReflector.ValidateParameterMetadata(methodInfo); 727List<Type> types = ServiceReflector.GetInheritedContractTypes(contractType); 731ServiceContractAttribute inheritedContractAttr = ServiceReflector.GetRequiredSingleAttribute<ServiceContractAttribute>(inheritedContractType); 778List<Type> types = ServiceReflector.GetInheritedContractTypes(contractType); 783ServiceContractAttribute inheritedContractAttr = ServiceReflector.GetRequiredSingleAttribute<ServiceContractAttribute>(inheritedContractType); 826return ServiceReflector.GetSingleAttribute<XmlSerializerFormatAttribute>(attrProvider, s_formatterAttributes); 830return ServiceReflector.GetSingleAttribute<DataContractFormatAttribute>(attrProvider, s_formatterAttributes); 863OperationContractAttribute opAttr = ServiceReflector.GetOperationContractAttribute(methodInfo); 869if (ServiceReflector.HasEndMethodShape(methodInfo)) 877bool isTask = ServiceReflector.IsTask(methodInfo, out taskTResult); 878bool isAsync = isTask ? false : ServiceReflector.IsBegin(opAttr, methodInfo); 880XmlName operationName = NamingHelper.GetOperationName(ServiceReflector.GetLogicalName(methodInfo, isAsync, isTask), opAttr.Name); 917newOp.HasNoDisposableParameters = ServiceReflector.HasNoDisposableParameters(methodInfo); 978operationDescription.HasNoDisposableParameters = ServiceReflector.HasNoDisposableParameters(methodInfo); 987object[] methodAttributes = ServiceReflector.GetCustomAttributes(methodInfo, typeof(FaultContractAttribute), false); 1002methodAttributes = ServiceReflector.GetCustomAttributes(methodInfo, typeof(ServiceKnownTypeAttribute), false); 1049outputMethod = ServiceReflector.GetEndMethod(methodInfo); 1071if ((!isTask && outputMethod.ReturnType != ServiceReflector.VoidType) || (isTask && taskTResult != ServiceReflector.VoidType) || 1072ServiceReflector.HasOutputParameters(outputMethod, isAsync)) 1157ParameterInfo[] parameters = ServiceReflector.GetInputParameters(methodInfo, isAsync); 1183ParameterInfo[] parameters = ServiceReflector.GetOutputParameters(methodInfo, isAsync); 1285MessageParameterAttribute paramAttr = ServiceReflector.GetSingleAttribute<MessageParameterAttribute>(attrProvider); 1305MessageContractAttribute messageContractAttribute = ServiceReflector.GetSingleAttribute<MessageContractAttribute>(typedMessageType); 1333MessageContractAttribute mca = ServiceReflector.GetRequiredSingleAttribute<MessageContractAttribute>(baseType); 1466MessageBodyMemberAttribute bodyAttr = ServiceReflector.GetSingleAttribute<MessageBodyMemberAttribute>(attrProvider, s_messageContractMemberAttributes); 1502MessageHeaderAttribute headerAttr = ServiceReflector.GetRequiredSingleAttribute<MessageHeaderAttribute>(attrProvider, s_messageContractMemberAttributes); 1551MessagePropertyAttribute attr = ServiceReflector.GetSingleAttribute<MessagePropertyAttribute>(attrProvider); 1640_syncInputs = ServiceReflector.GetInputParameters(_syncOperation.SyncMethod, false); 1641_asyncInputs = ServiceReflector.GetInputParameters(_asyncOperation.BeginMethod, true); 1642_syncOutputs = ServiceReflector.GetOutputParameters(_syncOperation.SyncMethod, false); 1643_asyncOutputs = ServiceReflector.GetOutputParameters(_asyncOperation.EndMethod, true); 1783_syncInputs = ServiceReflector.GetInputParameters(_syncOperation.SyncMethod, false); 1784_taskInputs = ServiceReflector.GetInputParameters(_taskOperation.TaskMethod, false); 1900_taskInputs = ServiceReflector.GetInputParameters(_taskOperation.TaskMethod, false); 1901_asyncInputs = ServiceReflector.GetInputParameters(_asyncOperation.BeginMethod, true);
System\ServiceModel\Dispatcher\InvokerUtil.cs (2)
133if (ServiceReflector.FlowsIn(parameters[i])) 139if (ServiceReflector.FlowsOut(parameters[i]))
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (5)
59_inParams = ServiceReflector.GetInputParameters(_beginMethod, true); 62_outParams = ServiceReflector.GetOutputParameters(_syncMethod, false); 68_endOutParams = ServiceReflector.GetOutputParameters(operation.EndMethod, true); 73_inParams = ServiceReflector.GetInputParameters(_syncMethod, false); 74_outParams = ServiceReflector.GetOutputParameters(_syncMethod, false);
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
29if (taskType != ServiceReflector.VoidType)