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