8 writes to Element
System.ServiceModel (3)
System\ServiceModel\Description\MessageContractExporter.cs (1)
296part.Element = elementName;
System\ServiceModel\Security\WSTrustServiceContract.cs (2)
2192inputMessage.Parts[0].Element = inputMessageElement; 2193outputMessage.Parts[0].Element = outputMessageElement;
System.Web.Services (5)
System\Web\Services\Description\MimeXmlReflector.cs (1)
43part.Element = new XmlQualifiedName(xmlTypeMapping.XsdElementName, xmlTypeMapping.Namespace);
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
6694o.@Element = ToXmlQualifiedName(Reader.Value);
System\Web\Services\Description\SoapProtocolReflector.cs (3)
122part.Element = new XmlQualifiedName(member.XsdElementName, member.Namespace); 188part.Element = new XmlQualifiedName(members.XsdElementName, members.Namespace); 205part.Element = new XmlQualifiedName(member.XsdElementName, member.Namespace);
47 references to Element
System.ServiceModel (22)
System\ServiceModel\Description\MessageContractImporter.cs (22)
634detailElementQname = faultMessageDetail.Element; 665XmlSchemaComplexType complexType = GetElementComplexType(part.Element, allSchemas, out ns, out elementFormDefault); 679if (IsNullOrEmpty(part.Element)) 682typeName = GetTypeName(FindSchemaElement(allSchemas, part.Element)); 693XmlSchemaSequence rootSequence = GetRootSequence(GetElementComplexType(part.Element, allSchemas, out ns, out elementFormDefault)); 697description.Body.WrapperName = new XmlName(part.Element.Name, true /*isEncoded*/).EncodedName; 698description.Body.WrapperNamespace = part.Element.Namespace; 714if (IsNullOrEmpty(part.Element)) 716ns = part.Element.Namespace; 717typeName = GetTypeName(FindSchemaElement(allSchemas, part.Element)); 724return (IsWrapperPart(wsdlPart)) ? CurrentSchemaImporter.CanImportWrapperElement(wsdlPart.Element) : false; 733XmlQualifiedName elementName = wsdlPart.Element; 767return wsdlPart.Name == "parameters" && !IsNullOrEmpty(wsdlPart.Element) && !wrapFlag; 928if (part.Element != null && !part.Element.IsEmpty) 930XmlSchemaElement element = FindSchemaElement(allSchemas, part.Element); 1464if (!IsNullOrEmpty(part.Element)) 1465return part.Element; 1474if (!IsNullOrEmpty(part.Element)) 1475return CanImportElement(FindSchemaElement(this.schemaSet, part.Element)); 1487if (!IsNullOrEmpty(part.Element)) 1488return ImportParameterElement(part.Element, isHeader, false/*isMultiple*/);
System.Web.Extensions (2)
Compilation\WCFModel\WsdlInspector.cs (2)
276if (!MatchXmlQualifiedNames(partX.Type, partY.Type) || !MatchXmlQualifiedNames(partX.Element, partY.Element))
System.Web.Services (23)
System\Web\Services\Description\MimeXmlImporter.cs (1)
63importedReturn.TypeMapping = Importer.ImportTypeMapping(part.Element);
System\Web\Services\Description\ServiceDescriptionImporter.cs (3)
444if (part.Element != null && !part.Element.IsEmpty) { 446XmlSchemaElement element = (XmlSchemaElement)allSchemas.Find(part.Element, typeof(XmlSchemaElement));
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
1719WriteAttribute(@"element", @"", FromXmlQualifiedName(((global::System.Xml.XmlQualifiedName)o.@Element)));
System\Web\Services\Description\SoapProtocolImporter.cs (10)
574if (!part.Element.IsEmpty) UnsupportedOperationBindingWarning(Res.GetString(Res.WebDescriptionPartElementWarning, part.Name, header.Message.Name, header.Message.Namespace)); 579if (part.Element.IsEmpty) throw new InvalidOperationException(Res.GetString(Res.WebDescriptionPartElementRequired, part.Name, header.Message.Name, header.Message.Namespace)); 581mapping = xmlImporter.ImportDerivedTypeMapping(part.Element, typeof(SoapHeader), true); 582key = "element=" + part.Element.ToString(); 1025if (!part.Element.IsEmpty) { 1034if (!parts[0].Element.IsEmpty) { 1051if (part.Element.IsEmpty) { 1064if (!part.Element.IsEmpty) { 1161membersMapping = xmlImporter.ImportMembersMapping(parts[0].Element); 1173names[i] = parts[i].Element;
System\Web\Services\Description\WebServicesInteroperability.cs (8)
332if (part.Type != null && !part.Type.IsEmpty && part.Element != null && !part.Element.IsEmpty) { 337XmlQualifiedName qname = part.Type == null || part.Type.IsEmpty ? part.Element : part.Type; 349if (element && (part.Element == null || part.Element.IsEmpty)) { 358else if (part.Element != null) { 359AddSignature(wireSignatures, part.Element.Name, part.Element.Namespace, message, ns, violations);