FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (13)
257if (!_oneway && _response.Body.ReturnValue != null)
259_endMethod.ReturnType = GetParameterType(_response.Body.ReturnValue);
260ParameterizedMessageHelper.GenerateMessageParameterAttribute(_response.Body.ReturnValue, _endMethod.ReturnTypeCustomAttributes, TypeLoader.GetReturnValueName(_defaultName), _defaultNS);
261AddAdditionalAttributes(_response.Body.ReturnValue, _endMethod.ReturnTypeCustomAttributes, _isEncoded);
332if (isReply && message.Body.ReturnValue != null)
334GenerateBodyPart(0, message.Body.ReturnValue, partCodeGenerator, true, _isEncoded, _defaultNS);
605if (messageDescription.Body.ReturnValue != null)
607AddWrapperPart(messageDescription.MessageName, _wrappedBodyTypeGenerator, partGenerator, messageDescription.Body.ReturnValue, wrapperTypeDecl.CustomAttributes);
608protectionLevel = ProtectionLevelHelper.Max(protectionLevel, messageDescription.Body.ReturnValue.ProtectionLevel);
609if (messageDescription.Body.ReturnValue.HasProtectionLevel)
649if (messageDescription.Body.ReturnValue != null)
650defaultNS = messageDescription.Body.ReturnValue.Namespace;
667order = _response.Body.ReturnValue != null ? 1 : 0;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
274SerializeBody(writer, version, messageInfo.BodySerializer, messageDescription.Body.ReturnValue, messageDescription.Body.Parts, returnValue, parameters);
334return DeserializeBody(reader, version, messageInfo.BodySerializer, messageDescription.Body.ReturnValue, messageDescription.Body.Parts, parameters, isRequest);