5 instantiations of XmlSerializerOperationBehavior
System.ServiceModel (4)
System\ServiceModel\Description\MessageContractImporter.cs (1)
2134operationBehavior = new XmlSerializerOperationBehavior(operation);
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
74return new XmlSerializerOperationBehavior(operation).CreateFormatter(); 79return new XmlSerializerOperationBehavior(operation, attr).CreateFormatter(); 105operation.Behaviors.Add(new XmlSerializerOperationBehavior(operationReflector, builtInOperationBehavior));
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\ContractInferenceHelper.cs (1)
503operation.Behaviors.Add(new XmlSerializerOperationBehavior(operation, XmlSerializerFormatAttribute));
64 references to XmlSerializerOperationBehavior
System.ServiceModel (44)
System\ServiceModel\Administration\ContractInstanceProvider.cs (3)
201else if (behavior is XmlSerializerOperationBehavior) 204XmlSerializerOperationBehavior specificBehavior = (XmlSerializerOperationBehavior)behavior;
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (2)
171XmlSerializerOperationBehavior.AddBehaviors(contractDescription); 180operation.Formatter = XmlSerializerOperationBehavior.CreateOperationFormatter(opDesc);
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (2)
165XmlSerializerOperationBehavior.AddBehaviors(contractDescription); 174operation.Formatter = XmlSerializerOperationBehavior.CreateOperationFormatter(opDesc);
System\ServiceModel\Description\MessageContractExporter.cs (20)
765XmlSerializerOperationBehavior xmlSerializerBehavior = operation.Behaviors.Find<XmlSerializerOperationBehavior>(); 1042return ((XmlSerializerOperationBehavior)extension).XmlSerializerFormatAttribute.Style == OperationFormatStyle.Rpc; 1047return ((XmlSerializerOperationBehavior)extension).XmlSerializerFormatAttribute.IsEncoded; 1057XmlSerializerOperationBehavior serializerBehavior = this.extension as XmlSerializerOperationBehavior; 1075XmlSerializerOperationBehavior.Reflector.OperationReflector operationReflector = (XmlSerializerOperationBehavior.Reflector.OperationReflector)state; 1105XmlSerializerOperationBehavior.Reflector.OperationReflector operationReflector = (XmlSerializerOperationBehavior.Reflector.OperationReflector)state; 1130XmlSerializerOperationBehavior.Reflector.OperationReflector operationReflector = (XmlSerializerOperationBehavior.Reflector.OperationReflector)state; 1145void ExportFault(FaultDescription fault, XmlSerializerOperationBehavior.Reflector.OperationReflector operationReflector) 1160XmlQualifiedName ExportFaultElement(FaultDescription fault, XmlSerializerOperationBehavior.Reflector.OperationReflector operationReflector) 1177return new ExtensionData(((XmlSerializerOperationBehavior)this.extension).XmlSerializerFormatAttribute); 1242XmlSerializerOperationBehavior.Reflector Reflector 1247if (!exporter.State.TryGetValue(typeof(XmlSerializerOperationBehavior.Reflector), out reflector)) 1249reflector = new XmlSerializerOperationBehavior.Reflector(contractContext.Contract.Namespace, contractContext.Contract.ContractType); 1250exporter.State.Add(typeof(XmlSerializerOperationBehavior.Reflector), reflector); 1252return (XmlSerializerOperationBehavior.Reflector)reflector;
System\ServiceModel\Description\MessageContractImporter.cs (2)
2128XmlSerializerOperationBehavior operationBehavior = operation.Behaviors.Find<XmlSerializerOperationBehavior>();
System\ServiceModel\Description\TypedMessageConverter.cs (1)
73return XmlSerializerOperationBehavior.CreateOperationFormatter(operation, (XmlSerializerFormatAttribute)formatAttribute);
System\ServiceModel\Description\TypeLoader.cs (1)
313XmlSerializerOperationBehavior.AddBuiltInBehaviors(contractDesc);
System\ServiceModel\Description\WsdlExporter.cs (2)
446XmlSerializerOperationBehavior xsob = extension as XmlSerializerOperationBehavior;
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (3)
138XmlSerializerOperationBehavior xmlSerializerOperationBehavior = context.Operation.Behaviors.Find<XmlSerializerOperationBehavior>() as XmlSerializerOperationBehavior;
System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (8)
20SynchronizedCollection<XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo> xmlSerializerFaultContractInfos; 23SynchronizedCollection<XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo> xmlSerializerFaultContractInfos) 30SynchronizedCollection<XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo> xmlSerializerFaultContractInfos) 36void Initialize(SynchronizedCollection<XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo> xmlSerializerFaultContractInfos) 49XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo faultInfo = null; 71IList<XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo> faultInfos; 74faultInfos = new List<XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo>(); 93XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo faultInfo = faultInfos[i];
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\ContractInferenceHelper.cs (2)
498if (operation.Behaviors.Find<XmlSerializerOperationBehavior>() != null) 501SR.OperationHasSerializerBehavior(operation.Name, operation.DeclaringContract.Name, typeof(XmlSerializerOperationBehavior))));
System\ServiceModel\Activities\Receive.cs (1)
514if (operation.Behaviors.Contains(typeof(XmlSerializerOperationBehavior)))
System\ServiceModel\Activities\WorkflowService.cs (1)
1140SerializerOption targetSerializerOption = targetOperation.Behaviors.Contains(typeof(XmlSerializerOperationBehavior)) ?
System.ServiceModel.Web (16)
System\ServiceModel\Description\WebHttpBehavior.cs (11)
31XmlSerializerOperationBehavior.Reflector reflector; 120this.reflector = new XmlSerializerOperationBehavior.Reflector(endpoint.Contract.Namespace, null); 173this.reflector = new XmlSerializerOperationBehavior.Reflector(endpoint.Contract.Namespace, null); 516XmlSerializerOperationBehavior xsob = od.Behaviors.Find<XmlSerializerOperationBehavior>(); 1088XmlSerializerOperationBehavior xsob = od.Behaviors.Find<XmlSerializerOperationBehavior>(); 1238XmlSerializerOperationBehavior xsob = operationDescription.Behaviors.Find<XmlSerializerOperationBehavior>(); 1259XmlSerializerOperationBehavior xsob = od.Behaviors.Find<XmlSerializerOperationBehavior>();
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
158if (operation.Behaviors.Find<XmlSerializerOperationBehavior>() != null)
System\ServiceModel\Dispatcher\HelpPage.cs (1)
357bool usesXmlSerializer = od.Behaviors.Contains(typeof(XmlSerializerOperationBehavior));
System\ServiceModel\Dispatcher\SingleBodyParameterMessageFormatter.cs (2)
250XmlSerializerOperationBehavior xsob = operation.Behaviors.Find<XmlSerializerOperationBehavior>();
System\ServiceModel\Dispatcher\SingleBodyParameterXmlSerializerMessageFormatter.cs (1)
28public SingleBodyParameterXmlSerializerMessageFormatter(OperationDescription operation, Type parameterType, bool isRequestFormatter, XmlSerializerOperationBehavior xsob, UnwrappedTypesXmlSerializerManager serializerManager)