18 writes to WrapperName
System.ServiceModel (14)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (2)
325messageDescription.Body.WrapperName = xmlName.EncodedName; 329messageDescription.Body.WrapperName = TypeLoader.GetBodyWrapperResponseName(xmlName).EncodedName;
System\ServiceModel\Description\DispatcherBuilder.cs (1)
73messageDescription.Body.WrapperName = messageDescription.Body.WrapperNamespace = null;
System\ServiceModel\Description\MessageBodyDescription.cs (1)
27this.WrapperName = other.WrapperName;
System\ServiceModel\Description\MessageContractImporter.cs (4)
559request.Body.WrapperName = operation.Name; 567response.Body.WrapperName = TypeLoader.GetBodyWrapperResponseName(operation.Name).EncodedName; 697description.Body.WrapperName = new XmlName(part.Element.Name, true /*isEncoded*/).EncodedName; 737messageDescription.Body.WrapperName = new XmlName(elementName.Name, true /*isEncoded*/).EncodedName;
System\ServiceModel\Description\OperationGenerator.cs (1)
638messageDescription.Body.WrapperName = null;
System\ServiceModel\Description\TypeLoader.cs (5)
1023responseDescription.Body.WrapperName = responseDescription.Body.WrapperNamespace = null; 1028requestDescription.Body.WrapperName = requestDescription.Body.WrapperNamespace = null; 1192messageDescription.Body.WrapperName = null; 1197messageDescription.Body.WrapperName = wrapperName.EncodedName; 1242messageDescription.Body.WrapperName = GetWrapperName(messageContractAttribute.WrapperName, messageDescription.MessageName).EncodedName;
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\MessageBuilder.cs (4)
129result.Body.WrapperName = null; 235message.Body.WrapperName = operation.Name + (isResponse ? TypeLoader.ResponseSuffix : string.Empty); 249responseMessage.Body.WrapperName = null; 255requestMessage.Body.WrapperName = null;
30 references to WrapperName
System.ServiceModel (26)
System\ServiceModel\ComIntegration\DispatchProxy.cs (2)
125throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new COMException(SR.GetString(SR.CannotResolveTypeForParamInMessageDescription, "ReturnValue", msgDesc.Body.WrapperName, msgDesc.Body.WrapperNamespace), HR.DISP_E_MEMBERNOTFOUND)); 150throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new COMException(SR.GetString(SR.CannotResolveTypeForParamInMessageDescription, param.Name, msgDesc.Body.WrapperName, msgDesc.Body.WrapperNamespace), HR.DISP_E_MEMBERNOTFOUND));
System\ServiceModel\Description\MessageBodyDescription.cs (1)
27this.WrapperName = other.WrapperName;
System\ServiceModel\Description\MessageContractExporter.cs (3)
970bool isWrapped = description.Body.WrapperName != null; 973wrapperSequence = ExportWrappedPart(wsdlMessage, description.Body.WrapperName, description.Body.WrapperNamespace, SchemaSet, false /*isOperationInherited*/); 1118bool isDocWrapped = !operationReflector.IsRpc && description.Body.WrapperName != null;
System\ServiceModel\Description\OperationGenerator.cs (10)
319if (this.MessageContractType == MessageContractType.BareMessageContract && message.Body.WrapperName != null) 633MessagePartDescription wrapperPart = new MessagePartDescription(messageDescription.Body.WrapperName, messageDescription.Body.WrapperNamespace); 784if (message.Body.WrapperName != null) 788new CodePrimitiveExpression(NamingHelper.CodeName(message.Body.WrapperName)))); 906if (parent.Request.Body.WrapperName == null || (parent.Response != null && parent.Response.Body.WrapperName == null)) 913if (!String.Equals(parent.Request.Body.WrapperName, defaultName.EncodedName, StringComparison.Ordinal)) 914throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperName, parent.Request.MessageName, parent.Request.Body.WrapperName, defaultName.EncodedName))); 921if (!String.Equals(parent.Response.Body.WrapperName, TypeLoader.GetBodyWrapperResponseName(defaultName).EncodedName, StringComparison.Ordinal)) 922throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperName, parent.Response.MessageName, parent.Response.Body.WrapperName, defaultName.EncodedName)));
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
489if (IsEncoded && message.IsTypedMessage && message.Body.WrapperName == null) 502wrapperName = message.Body.WrapperName;
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
130bool isWrapped = (body.WrapperName != null);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
117if (body.WrapperName != null) 119messageInfo.WrapperName = AddToDictionary(body.WrapperName);
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (4)
65if (requestMessage.Body.WrapperName != null) 67requestWrapperName = AddToDictionary(dictionary, requestMessage.Body.WrapperName); 75if (responseMessage.Body.WrapperName != null) 77responseWrapperName = AddToDictionary(dictionary, responseMessage.Body.WrapperName);
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
40wrapperName = messageDescription.Body.WrapperName;
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\ContractValidationHelper.cs (3)
334if (targetMessage.Body.WrapperName != null && targetMessage.Body.WrapperName != String.Empty) 398if (targetMessageBody.WrapperName == null)
System.ServiceModel.Web (1)
System\ServiceModel\Description\WebHttpBehavior.cs (1)
1268if (IsTypedMessage(md) && md.Body.WrapperName == null)