FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (6)
855if (setting.Name != defaultName.EncodedName)
874if (setting.Name != defaultName.EncodedName)
906if (!String.Equals(parent._request.Body.WrapperName, defaultName.EncodedName, StringComparison.Ordinal))
907throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperName, parent._request.MessageName, parent._request.Body.WrapperName, defaultName.EncodedName)));
914if (!String.Equals(parent._response.Body.WrapperName, TypeLoader.GetBodyWrapperResponseName(defaultName).EncodedName, StringComparison.Ordinal))
915throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperName, parent._response.MessageName, parent._response.Body.WrapperName, defaultName.EncodedName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (15)
668return new XmlName(operationName.EncodedName + ResponseSuffix, true /*isEncoded*/);
869opAttr.EnsureInvariants(methodInfo, operationName.EncodedName);
871Collection<OperationDescription> operations = contractDescription.Operations.FindAll(operationName.EncodedName);
959OperationDescription operationDescription = new OperationDescription(operationName.EncodedName, declaringContract);
976throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.OneWayAndFaultsIncompatible2, methodInfo.DeclaringType.FullName, operationName.EncodedName)));
983CheckDuplicateFaultContract(operationDescription.Faults, faultDescription, operationName.EncodedName);
1245messageDescription.Body.WrapperName = wrapperName.EncodedName;
1258parameterPart = new MessagePartDescription(name.EncodedName, defaultNS);
1288messageDescription.Body.WrapperName = GetWrapperName(messageContractAttribute.WrapperName, messageDescription.MessageName).EncodedName;
1425partDescription = new MessagePartDescription(defaultName.EncodedName, defaultNS);
1432partDescription = new MessagePartDescription(partName.EncodedName, partNs);
1460headerDescription = new MessageHeaderDescription(headerName.EncodedName, headerNs);
1461headerDescription.UniquePartName = defaultName.EncodedName;
1499MessagePropertyDescription propertyDescription = new MessagePropertyDescription(propertyName.EncodedName);
1512return new XmlName(methodName.EncodedName + ReturnSuffix, true);