1 write to ElementName
System.ServiceModel (1)
System\ServiceModel\Description\MessageContractImporter.cs (1)
603faultDescription.ElementName = new XmlName(detailElementQname.Name, true /*isEncoded*/);
15 references to ElementName
System.ServiceModel (15)
System\ServiceModel\Description\DispatcherBuilder.cs (2)
995child.FaultContractInfos.Add(new FaultContractInfo(fault.Action, fault.DetailType, fault.ElementName, fault.Namespace, operation.KnownTypes)); 1022child.FaultContractInfos.Add(new FaultContractInfo(fault.Action, fault.DetailType, fault.ElementName, fault.Namespace, operation.KnownTypes));
System\ServiceModel\Description\MessageContractExporter.cs (2)
230if (XmlName.IsNullOrEmpty(fault.ElementName)) 237elementName = new XmlQualifiedName(fault.ElementName.EncodedName, fault.Namespace);
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
673if (!XmlName.IsNullOrEmpty(fault.ElementName)) 674faultContractAttr.Arguments.Add(new CodeAttributeArgument("Name", new CodePrimitiveExpression(fault.ElementName.EncodedName)));
System\ServiceModel\Description\TypeLoader.cs (7)
1038if (XmlName.IsNullOrEmpty(existingFault.ElementName) && XmlName.IsNullOrEmpty(fault.ElementName) && existingFault.DetailType == fault.DetailType) 1041if (!XmlName.IsNullOrEmpty(existingFault.ElementName) && !XmlName.IsNullOrEmpty(fault.ElementName) && existingFault.ElementName == fault.ElementName && existingFault.Namespace == fault.Namespace) 1043SR.GetString(SR.SFxFaultContractDuplicateElement, operationName, fault.ElementName, fault.Namespace)));
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
415FaultContractInfo faultContractInfo = new FaultContractInfo(fault.Action, fault.DetailType, fault.ElementName, fault.Namespace, this.Operation.KnownTypes); 613XmlName faultElementName = fault.ElementName;