176 references to WriteAttributeString
PresentationFramework (13)
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (7)
553_writer.WriteAttributeString(scope.GetPrefixOf(NamespaceCache.XamlNamespace), "Key", NamespaceCache.XamlNamespace, property.StringValue);
573_writer.WriteAttributeString(scope.GetPrefixOf(xamlUri), dependencyProperty.Name, xamlUri, property.StringValue);
590_writer.WriteAttributeString(propertyPrefix, localName, typeUri, property.StringValue);
600_writer.WriteAttributeString("xml", "lang", NamespaceCache.XmlNamespace, property.StringValue);
605_writer.WriteAttributeString(scope.GetPrefixOf(xamlUri), property.PropertyDescriptor.Name, xamlUri, property.StringValue);
646_writer.WriteAttributeString("xmlns", mapping.Prefix, NamespaceCache.XmlnsNamespace, mapping.Uri);
656_writer.WriteAttributeString("xml", "space", NamespaceCache.XmlNamespace, "preserve");
System.Data (49)
fx\src\data\System\Data\xmlsaver.cs (32)
965xw.WriteAttributeString(Keywords.MSD, Keywords.MSD_SCHEMASERIALIZATIONMODE, Keywords.MSDNS, Keywords.MSD_EXCLUDESCHEMA);
2040_xmlw.WriteAttributeString(Keywords.XMLNS, Keywords.MSD, null, Keywords.MSDNS);
2114_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture));
2115_xmlw.WriteAttributeString( Keywords.DFF, Keywords.MSD_ERROR, Keywords.DFFNS, row.RowError);
2135_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture));
2142_xmlw.WriteAttributeString( Keywords.DFF, Keywords.MSD_ERROR, Keywords.DFFNS, error);
2184_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, rowIDString);
2187_xmlw.WriteAttributeString( Keywords.DFF, Keywords.HASERRORS, Keywords.DFFNS, Keywords.TRUE);
2190_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFPID, Keywords.DFFNS, parentId);
2192_xmlw.WriteAttributeString( Keywords.MSD, Keywords.ROWORDER, Keywords.MSDNS, rowsOrder[row].ToString());
2212_xmlw.WriteAttributeString(Keywords.XSI, Keywords.XSI_NIL, Keywords.XSINS, Keywords.TRUE);
2220_xmlw.WriteAttributeString(colPrefix, col.EncodedColumnName, col.Namespace, value);
2224_xmlw.WriteAttributeString(Keywords.MSD, "hidden"+col.EncodedColumnName, Keywords.MSDNS, value);
2244_xmlw.WriteAttributeString(Keywords.XML, Keywords.SPACE, Keywords.XML_XMLNS, Keywords.PRESERVE);
2254_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, DataStorage.GetQualifiedName(valuesType));
2275_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, valuesType.FullName);
2278_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, Keywords.TYPEINSTANCE);
2282_xmlw.WriteAttributeString(Keywords.XSI, Keywords.TYPE, Keywords.XSINS, xsdTypeName);
2489_xmlw.WriteAttributeString(Keywords.XMLNS, Keywords.XSI, Keywords.XSD_XMLNS_NS, Keywords.XSINS);
2545_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture));
2547_xmlw.WriteAttributeString( Keywords.MSD, Keywords.ROWORDER, Keywords.MSDNS, rowsOrder[row].ToString());
2550_xmlw.WriteAttributeString( Keywords.DFF, Keywords.HASCHANGES, Keywords.DFFNS, Keywords.INSERTED);
2553_xmlw.WriteAttributeString( Keywords.DFF, Keywords.HASCHANGES, Keywords.DFFNS, Keywords.MODIFIED);
2557_xmlw.WriteAttributeString( Keywords.DFF, Keywords.HASERRORS, Keywords.DFFNS, Keywords.TRUE);
2574_xmlw.WriteAttributeString(colPrefix, col.EncodedColumnName, col.Namespace, col.ConvertObjectToXml(value));
2587_xmlw.WriteAttributeString(Keywords.MSD, "hidden"+col.EncodedColumnName, Keywords.MSDNS, col.ConvertObjectToXml(value));
2601_xmlw.WriteAttributeString(Keywords.XSI, Keywords.XSI_NIL, Keywords.XSINS, Keywords.TRUE);
2617_xmlw.WriteAttributeString(Keywords.XML, Keywords.SPACE, Keywords.XML_XMLNS, Keywords.PRESERVE);
2627_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, DataStorage.GetQualifiedName(valuesType));
2646_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, valuesType.FullName);
2649_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, Keywords.TYPEINSTANCE);
2653_xmlw.WriteAttributeString(Keywords.XSI, Keywords.TYPE, Keywords.XSINS, xsdTypeName);
System.Data.Entity.Design (1)
System.Data.Services (12)
System\Data\Services\Serializers\MetadataSerializer.cs (5)
109writer.WriteAttributeString(XmlConstants.XmlnsNamespacePrefix, XmlConstants.DataWebMetadataNamespacePrefix, null, XmlConstants.DataWebMetadataNamespace);
110writer.WriteAttributeString(XmlConstants.DataWebMetadataNamespacePrefix, XmlConstants.HttpDataServiceVersion, XmlConstants.DataWebMetadataNamespace, dataServiceVersion);
123writer.WriteAttributeString(XmlConstants.XmlnsNamespacePrefix, XmlConstants.DataWebNamespacePrefix, null, XmlConstants.DataWebNamespace);
124writer.WriteAttributeString(XmlConstants.XmlnsNamespacePrefix, XmlConstants.DataWebMetadataNamespacePrefix, null, XmlConstants.DataWebMetadataNamespace);
136writer.WriteAttributeString(XmlConstants.DataWebMetadataNamespacePrefix, name, XmlConstants.DataWebMetadataNamespace, value);
System.Data.Services.Client (1)
System.Data.SqlXml (4)
System.IdentityModel (13)
System\IdentityModel\Metadata\MetadataSerializer.cs (6)
1914writer.WriteAttributeString("xsi", "type", XmlSchema.InstanceNamespace, FederationMetadataConstants.Prefix + ":" + FederationMetadataConstants.Elements.ApplicationServiceType);
1916writer.WriteAttributeString("xmlns", FederationMetadataConstants.Prefix, null, FederationMetadataConstants.Namespace);
2543writer.WriteAttributeString(LanguagePrefix, LanguageLocalName, LanguageNamespaceUri, name.Language.Name);
2580writer.WriteAttributeString(LanguagePrefix, LanguageLocalName, LanguageNamespaceUri, uri.Language.Name);
2873writer.WriteAttributeString("xsi", "type", XmlSchema.InstanceNamespace, FederationMetadataConstants.Prefix + ":" + FederationMetadataConstants.Elements.SecurityTokenServiceType);
2875writer.WriteAttributeString("xmlns", FederationMetadataConstants.Prefix, null, FederationMetadataConstants.Namespace);
System.Runtime.Serialization (8)
System.ServiceModel (24)
System\ServiceModel\Channels\MessageFault.cs (6)
311writer.WriteAttributeString("xml", "lang", XmlUtil.XmlNs, text.XmlLang);
344writer.WriteAttributeString("xmlns", "a", XmlUtil.XmlNsNs, ns);
384writer.WriteAttributeString("xmlns", "a", XmlUtil.XmlNsNs, ns);
390writer.WriteAttributeString("xml", "lang", XmlUtil.XmlNs, translation.XmlLang);
568writer.WriteAttributeString(r.Prefix, r.LocalName, r.NamespaceURI, r.Value);
596writer.WriteAttributeString(r.Prefix, r.LocalName, r.NamespaceURI, r.Value);
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (4)
484writer.WriteAttributeString("xml", "base", XmlNs, FeedUtils.GetUriString(baseUriToWrite));
1218writer.WriteAttributeString("xml", "lang", XmlNs, feed.Language);
1222writer.WriteAttributeString("xml", "base", XmlNs, FeedUtils.GetUriString(feed.BaseUri));
1269dictWriter.WriteAttributeString("xml", "base", XmlNs, FeedUtils.GetUriString(baseUriToWrite));
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (5)
1058writer.WriteAttributeString("xml", "base", Atom10FeedFormatter.XmlNs, FeedUtils.GetUriString(baseUriToWrite));
1089writer.WriteAttributeString("xmlns", Atom10Constants.Atom10Prefix, null, Atom10Constants.Atom10Namespace);
1095writer.WriteAttributeString("xml", "base", Atom10FeedFormatter.XmlNs, FeedUtils.GetUriString(this.Feed.BaseUri));
1226writer.WriteAttributeString("xml", "base", Atom10FeedFormatter.XmlNs, FeedUtils.GetUriString(baseUriToWrite));
1435writer.WriteAttributeString("xml", "base", Atom10FeedFormatter.XmlNs, FeedUtils.GetUriString(baseUriToWrite));
System.ServiceModel.Discovery (2)
System.ServiceModel.Web (8)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (8)
194context.writer.WriteAttributeString("i", XmlSchemaInstanceNil, XmlSchemaInstanceNamespace, "true");
246context.writer.WriteAttributeString(XmlNamespacePrefix, prefix, null, contentElement.QualifiedName.Namespace);
250context.writer.WriteAttributeString("i", XmlSchemaInstanceType, XmlSchemaInstanceNamespace, value);
298context.writer.WriteAttributeString("i", XmlSchemaInstanceNil, XmlSchemaInstanceNamespace, "true");
331context.writer.WriteAttributeString("i", XmlSchemaInstanceNil, XmlSchemaInstanceNamespace, "true");
479context.writer.WriteAttributeString(string.Empty, JsonGlobals.typeString, string.Empty, JsonGlobals.numberString);
496context.writer.WriteAttributeString(string.Empty, JsonGlobals.typeString, string.Empty, JsonGlobals.arrayString);
500context.writer.WriteAttributeString(string.Empty, JsonGlobals.typeString, string.Empty, JsonGlobals.numberString);
System.Web.Services (24)
System\Web\Services\Protocols\Soap11ServerProtocol.cs (5)
96writer.WriteAttributeString("xmlns", Soap.Prefix, null, Soap.Namespace);
97writer.WriteAttributeString("xmlns", "xsi", null, XmlSchema.InstanceNamespace);
98writer.WriteAttributeString("xmlns", "xsd", null, XmlSchema.Namespace);
109writer.WriteAttributeString("xmlns", "q0", null, code.Namespace);
115writer.WriteAttributeString("xml", Soap.Attribute.Lang, Soap.XmlNamespace, soapException.Lang);
System\Web\Services\Protocols\Soap12ServerProtocol.cs (4)
115writer.WriteAttributeString("xmlns", Soap.Prefix, null, Soap12.Namespace);
116writer.WriteAttributeString("xmlns", "xsi", null, XmlSchema.InstanceNamespace);
117writer.WriteAttributeString("xmlns", "xsd", null, XmlSchema.Namespace);
167writer.WriteAttributeString("xmlns", "q0", null, code.Namespace);
System\Web\Services\Protocols\SoapClientProtocol.cs (7)
560writer.WriteAttributeString("xmlns", Soap.Prefix, null, envelopeNs);
562writer.WriteAttributeString("xmlns", "soapenc", null, encodingNs);
563writer.WriteAttributeString("xmlns", "tns", null, clientType.serviceNamespace);
564writer.WriteAttributeString("xmlns", "types", null, SoapReflector.GetEncodedNamespace(clientType.serviceNamespace, clientType.serviceDefaultIsEncoded));
566writer.WriteAttributeString("xmlns", "xsi", null, XmlSchema.InstanceNamespace);
567writer.WriteAttributeString("xmlns", "xsd", null, XmlSchema.Namespace);
571writer.WriteAttributeString("soap", Soap.Attribute.EncodingStyle, null, encodingNs);
System\Web\Services\Protocols\SoapServerProtocol.cs (8)
691writer.WriteAttributeString("xmlns", "soap", null, helper.EnvelopeNs);
693writer.WriteAttributeString("xmlns", "soapenc", null, helper.EncodingNs);
694writer.WriteAttributeString("xmlns", "tns", null, serverType.serviceNamespace);
695writer.WriteAttributeString("xmlns", "types", null, SoapReflector.GetEncodedNamespace(serverType.serviceNamespace, serverType.serviceDefaultIsEncoded));
698writer.WriteAttributeString("xmlns", "rpc", null, Soap12.RpcNamespace);
700writer.WriteAttributeString("xmlns", "xsi", null, XmlSchema.InstanceNamespace);
701writer.WriteAttributeString("xmlns", "xsd", null, XmlSchema.Namespace);
705writer.WriteAttributeString("soap", Soap.Attribute.EncodingStyle, null, helper.EncodingNs);
System.Windows.Forms (1)
System.Workflow.ComponentModel (3)
System.Xml (10)
System\Xml\XPath\XPathNavigator.cs (4)
1806writer.WriteAttributeString( "", "xmlns", xmlnsUri, reader.Value );
1810writer.WriteAttributeString( "xmlns", reader.LocalName, xmlnsUri, reader.Value );
1862writer.WriteAttributeString( "", "xmlns", xmlnsUri, reader.Value );
1866writer.WriteAttributeString( "xmlns", reader.LocalName, xmlnsUri, reader.Value );
System.Xml.Linq (3)
System\Xml\Linq\XLinq.cs (3)
5245writer.WriteAttributeString(GetPrefixOfNamespace(ns, false), localName, namespaceName.Length == 0 && localName == "xmlns" ? XNamespace.xmlnsPrefixNamespace : namespaceName, a.Value);
6711w.WriteAttributeString(GetPrefixOfNamespace(name.Namespace), name.LocalName, name.NamespaceName, value);
7419writer.WriteAttributeString(GetPrefixOfNamespace(ns, false), localName, namespaceName.Length == 0 && localName == "xmlns" ? XNamespace.xmlnsPrefixNamespace : namespaceName, a.Value);