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