3 writes to ReturnValue
System.ServiceModel.Primitives (3)
System\ServiceModel\Description\MessageBodyDescription.cs (1)
31ReturnValue = other.ReturnValue.Clone();
System\ServiceModel\Description\TypeLoader.cs (2)
1266messageDescription.Body.ReturnValue = CreateParameterPartDescription(returnValueName, defaultNS, 0, returnAttrProvider, returnType); 1435messageDescription.Body.ReturnValue = CreateMessagePartDescription(typeof(void),
29 references to ReturnValue
System.ServiceModel.Primitives (29)
System\ServiceModel\Description\MessageBodyDescription.cs (2)
29if (other.ReturnValue != null) 31ReturnValue = other.ReturnValue.Clone();
System\ServiceModel\Description\MessageDescription.cs (5)
145return (Body.ReturnValue != null && Body.Parts.Count == 0 && Body.ReturnValue.Type == TypeOfUntypedMessage) || 146(Body.ReturnValue == null && Body.Parts.Count == 1 && Body.Parts[0].Type == TypeOfUntypedMessage); 154return !IsTypedMessage && Body.Parts.Count == 0 && (Body.ReturnValue == null || Body.ReturnValue.Type == typeof(void));
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
540returnPart = OperationFormatter.IsValidReturnValue(message.Body.ReturnValue) ? message.Body.ReturnValue : null;
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
129if (IsValidReturnValue(messageDescription.Body.ReturnValue)) 131messageInfo.ReturnPart = CreatePartInfo(messageDescription.Body.ReturnValue, dataContractFormatAttribute.Style, serializerFactory);
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (5)
85if (_responseMessage.Body.ReturnValue != null && _responseMessage.Body.ReturnValue.Type != typeof(void)) 87_returnPart = AddToDictionary(dictionary, _responseMessage.Body.ReturnValue, isRpc); 349if (responseMessage.Body.ReturnValue != null && !IsTypeSupported(responseMessage.Body.ReturnValue))
System\ServiceModel\Dispatcher\StreamFormatter.cs (6)
39if ((object)streamPart == (object)messageDescription.Body.ReturnValue) 233if (messageDescription.Body.ReturnValue != null && messageDescription.Body.ReturnValue.Type == typeof(Stream)) 250if (OperationFormatter.IsValidReturnValue(messageDescription.Body.ReturnValue)) 254if (messageDescription.Body.ReturnValue.Type == typeof(Stream)) 256return messageDescription.Body.ReturnValue;
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
330SerializeBody(writer, version, messageInfo.BodySerializer, messageDescription.Body.ReturnValue, messageDescription.Body.Parts, returnValue, parameters); 408return DeserializeBody(reader, version, messageInfo.BodySerializer, messageDescription.Body.ReturnValue, messageDescription.Body.Parts, parameters, isRequest);
System\ServiceModel\Security\ChannelProtectionRequirements.cs (3)
261else if (message.Body.ReturnValue != null) 263if (!(message.Body.ReturnValue.GetType().Equals(typeof(MessagePartDescription)))) 268MessagePartDescription desc = message.Body.ReturnValue;
System\ServiceModel\Security\WSTrust.cs (2)
1193if (OperationFormatter.IsValidReturnValue(message.Body.ReturnValue)) 1195message.Body.ReturnValue.ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign;