FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (10)
22void AddMemberAttributes(XmlName messageName, MessagePartDescription part, CodeAttributeDeclarationCollection attributesImported, CodeAttributeDeclarationCollection typeAttributes, CodeAttributeDeclarationCollection fieldAttributes);
312string messageName = XmlName.IsNullOrEmpty(message.MessageName) ? null : message.MessageName.DecodedName;
598string messageName = XmlName.IsNullOrEmpty(messageDescription.MessageName) ? null : messageDescription.MessageName.DecodedName;
683private void AddWrapperPart(XmlName messageName, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, IPartCodeGenerator partGenerator, MessagePartDescription part, CodeAttributeDeclarationCollection typeAttributes)
717XmlName xmlPartName = new XmlName(partName);
837internal static void GenerateMessageBodyMemberAttribute(int order, MessagePartDescription setting, CodeAttributeDeclarationCollection attributes, XmlName defaultName)
842internal static void GenerateMessageHeaderAttribute(MessageHeaderDescription setting, CodeAttributeDeclarationCollection attributes, XmlName defaultName)
850private static void GenerateMessageContractMemberAttribute<T>(int order, MessagePartDescription setting, CodeAttributeDeclarationCollection attrs, XmlName defaultName)
872internal static void GenerateMessageParameterAttribute(MessagePartDescription setting, CodeAttributeDeclarationCollection attributes, XmlName defaultName, string defaultNS)
905XmlName defaultName = new XmlName(parent._defaultName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (31)
658internal static XmlName GetBodyWrapperResponseName(string operationName)
666internal static XmlName GetBodyWrapperResponseName(XmlName operationName)
867XmlName operationName = NamingHelper.GetOperationName(ServiceReflector.GetLogicalName(methodInfo, isAsync, isTask), opAttr.Name);
1004XmlName wrapperName = operationName;
1005XmlName wrapperResponseName = GetBodyWrapperResponseName(operationName);
1039XmlName returnValueName = GetReturnValueName(operationName);
1086if (XmlName.IsNullOrEmpty(existingFault.ElementName) && XmlName.IsNullOrEmpty(fault.ElementName) && existingFault.DetailType == fault.DetailType)
1089if (!XmlName.IsNullOrEmpty(existingFault.ElementName) && !XmlName.IsNullOrEmpty(fault.ElementName) && existingFault.ElementName == fault.ElementName && existingFault.Namespace == fault.Namespace)
1098XmlName operationName)
1100XmlName faultName = new XmlName(attr.Name ?? NamingHelper.TypeName(attr.DetailType) + FaultSuffix);
1119XmlName returnValueName,
1122XmlName wrapperName,
1204XmlName returnValueName,
1208XmlName wrapperName,
1252private static MessagePartDescription CreateParameterPartDescription(XmlName defaultName, string defaultNS, int index, CustomAttributeProvider attrProvider, Type type)
1257XmlName name = paramAttr == null || !paramAttr.IsNameSetExplicit ? defaultName : new XmlName(paramAttr.Name);
1268XmlName returnValueName,
1415XmlName defaultName,
1430XmlName partName = bodyAttr.IsNameSetExplicit ? new XmlName(bodyAttr.Name) : defaultName;
1451XmlName defaultName,
1458XmlName headerName = headerAttr.IsNameSetExplicit ? new XmlName(headerAttr.Name) : defaultName;
1495XmlName defaultName,
1498XmlName propertyName = defaultName;
1510internal static XmlName GetReturnValueName(XmlName methodName)
1515internal static XmlName GetReturnValueName(string methodName)
1533internal static XmlName GetWrapperName(string wrapperName, XmlName defaultName)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (7)
359XmlName responseName = TypeLoader.GetBodyWrapperResponseName(this.Operation.Name);
517XmlName faultElementName = fault.ElementName;
574internal XmlMembersMapping ImportMembersMapping(XmlName elementName, string ns, XmlReflectionMember[] members, bool hasWrapperElement, bool rpc, string mappingKey)
820XmlName memberName = string.IsNullOrEmpty(part.UniquePartName) ? null : new XmlName(part.UniquePartName, true /*isEncoded*/);
821XmlName elementName = part.XmlName;
825static internal XmlReflectionMember GetXmlReflectionMember(XmlName memberName, XmlName elementName, string ns, Type type, MemberInfo additionalAttributesProvider, bool isMultiple, bool isWrapped)