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