1 override of AddNamespace
System.Private.Xml (1)
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
155public override void AddNamespace(string prefix, string uri) { }
97 references to AddNamespace
BuildBoss (1)
ProjectUtil.cs (1)
42Manager.AddNamespace("mb", Namespace == XNamespace.None ? "" : SharedUtil.MSBuildNamespaceUriRaw);
Microsoft.Build.Tasks.Core (23)
BootstrapperUtil\BootstrapperBuilder.cs (1)
593_xmlNamespaceManager.AddNamespace(BOOTSTRAPPER_PREFIX, BOOTSTRAPPER_NAMESPACE);
ManifestUtil\mansign2.cs (14)
387nsm.AddNamespace("asm", AssemblyNamespaceUri); 403nsm.AddNamespace("asm", AssemblyNamespaceUri); 404nsm.AddNamespace("asm2", AssemblyV2NamespaceUri); 405nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 449nsm.AddNamespace("asm", AssemblyNamespaceUri); 450nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 498nsm.AddNamespace("asm", AssemblyNamespaceUri); 699nsm.AddNamespace("r", LicenseNamespaceUri); 700nsm.AddNamespace("as", AuthenticodeNamespaceUri); 784nsm.AddNamespace("r", LicenseNamespaceUri); 899nsm.AddNamespace("r", LicenseNamespaceUri); 900nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 901nsm.AddNamespace("as", AuthenticodeNamespaceUri); 971nsm.AddNamespace("asm", AssemblyNamespaceUri);
ManifestUtil\XmlNamespaces.cs (6)
22nsmgr.AddNamespace("asmv1", asmv1); 23nsmgr.AddNamespace("asmv2", asmv2); 24nsmgr.AddNamespace("asmv3", asmv3); 25nsmgr.AddNamespace("dsig", dsig); 26nsmgr.AddNamespace("xrml", xrml); 27nsmgr.AddNamespace("xsi", xsi);
XmlPeek.cs (1)
208namespaceManager.AddNamespace(prefix.Value, uri.Value);
XmlPoke.cs (1)
195namespaceManager.AddNamespace(prefix.Value, uri.Value);
Microsoft.Build.Tasks.UnitTests (1)
XmlPoke_Tests.cs (1)
55ns.AddNamespace("s", XmlNamespaceUsedByTests);
Microsoft.DotNet.Build.Tasks.Installers (1)
src\CreateWixCommandPackageDropBase.cs (1)
139nsmgr.AddNamespace("wix", "http://schemas.microsoft.com/wix/2006/objects");
Microsoft.DotNet.SignCheckLibrary (1)
Verification\VsixVerifier.cs (1)
50namespaceManager.AddNamespace("ds", "http://schemas.openxmlformats.org/package/2006/digital-signature");
Microsoft.Extensions.Configuration.Xml (1)
XmlDocumentDecryptor.cs (1)
50namespaceManager.AddNamespace("enc", "http://www.w3.org/2001/04/xmlenc#");
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserContext.cs (1)
454xmlnsMgr.AddNamespace(key, parserContext._xmlnsDictionary[key]);
PresentationFramework (4)
System\Windows\Annotations\Storage\XmlStreamStore.cs (2)
752_namespaceManager.AddNamespace(AnnotationXmlConstants.Prefixes.CoreSchemaPrefix, AnnotationXmlConstants.Namespaces.CoreSchemaNamespace); 753_namespaceManager.AddNamespace(AnnotationXmlConstants.Prefixes.BaseSchemaPrefix, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
96this.AddNamespace(mapping.Prefix, mapping.Uri.OriginalString);
System\Windows\Markup\ParserContext.cs (1)
454xmlnsMgr.AddNamespace(key, parserContext._xmlnsDictionary[key]);
ReachFramework (4)
PrintConfig\PrtTicket_Public.cs (4)
632_nsMgr.AddNamespace(PrintSchemaPrefixes.Framework, PrintSchemaNamespaces.Framework); 633_nsMgr.AddNamespace(PrintSchemaPrefixes.StandardKeywordSet, PrintSchemaNamespaces.StandardKeywordSet); 634_nsMgr.AddNamespace(PrintSchemaPrefixes.xsi, PrintSchemaNamespaces.xsi); 635_nsMgr.AddNamespace(PrintSchemaPrefixes.xsd, PrintSchemaNamespaces.xsd);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\XPathQueryGenerator.cs (1)
150Namespaces.AddNamespace(prefix, ns);
System.Private.Xml (28)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3204xnm.AddNamespace(decl.prefix, decl.uri);
System\Xml\Core\XmlSubtreeReader.cs (3)
1269_nsManager.AddNamespace(string.Empty, reader.Value); 1275_nsManager.AddNamespace(prefix, reader.Value); 1300_nsManager.AddNamespace(prefix, ns);
System\Xml\Core\XmlTextReaderImpl.cs (1)
7804_namespaceManager.AddNamespace(prefix, uri);
System\Xml\Core\XsdValidatingReader.cs (1)
2112_nsManager.AddNamespace(_coreReader.Prefix.Length == 0 ? string.Empty : _coreReader.LocalName, _coreReader.Value);
System\Xml\Core\XsdValidatingReaderAsync.cs (1)
610_nsManager.AddNamespace(_coreReader.Prefix.Length == 0 ? string.Empty : _coreReader.LocalName, _coreReader.Value);
System\Xml\Dom\DocumentSchemaValidator.cs (2)
354_nsManager.AddNamespace(attr.Prefix.Length == 0 ? string.Empty : attr.LocalName, attr.Value); 703_nsManager.AddNamespace(attr.Prefix.Length == 0 ? string.Empty : attr.LocalName, attr.Value);
System\Xml\Dom\DocumentXPathNavigator.cs (1)
1823namespaceManager.AddNamespace(prefix, attribute.Value);
System\Xml\Dom\XmlLoader.cs (4)
705mgr.AddNamespace(attr.LocalName, attr.Value); 710mgr.AddNamespace(string.Empty, attr.Value); 827mgr.AddNamespace(attr.LocalName, attr.Value); 844mgr.AddNamespace(attr.LocalName, attr.Value);
System\Xml\Schema\Inference\Infer.cs (4)
161_namespaceManager.AddNamespace("xs", XmlSchema.Namespace); 345_namespaceManager.AddNamespace(prefix, childURI); 540_namespaceManager.AddNamespace(prefix, childURI!); 1213_namespaceManager.AddNamespace(_xtr.LocalName, _xtr.Value);
System\Xml\Schema\Parser.cs (3)
188_namespaceManager.AddNamespace(_reader.Prefix.Length == 0 ? string.Empty : _reader.LocalName, _reader.Value); 354_annotationNSManager!.AddNamespace(r.Prefix.Length == 0 ? string.Empty : _reader.LocalName, _reader.Value); 412_annotationNSManager!.AddNamespace(prefix, value);
System\Xml\Schema\XdrValidator.cs (1)
213_nsManager.AddNamespace(reader.Prefix.Length == 0 ? string.Empty : reader.LocalName, reader.Value);
System\Xml\Schema\XsdValidator.cs (1)
285_nsManager.AddNamespace(reader.Prefix.Length == 0 ? string.Empty : reader.LocalName, reader.Value);
System\Xml\XPath\XPathNavigator.cs (2)
1888mngr.AddNamespace(pair.Key, pair.Value); 2010mgr.AddNamespace(editor.LocalName, editor.Value);
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (2)
954_nsmgr.AddNamespace(string.Empty, string.Empty); 1104_nsmgr.AddNamespace(prefix, ns);
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (1)
970_nsmgr!.AddNamespace(prefix, ns);
System.Private.Xml.Linq (2)
System\Xml\Schema\XNodeValidator.cs (2)
190namespaceManager.AddNamespace(localName, a.Value); 215namespaceManager.AddNamespace(localName, a.Value);
System.Security.Cryptography.Xml (26)
System\Security\Cryptography\Xml\CipherData.cs (1)
107nsm.AddNamespace("enc", EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\CipherReference.cs (1)
84nsm.AddNamespace("enc", EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
169xmlNamespaceManager.AddNamespace(xmlDsigNamespacePrefix, SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedData.cs (2)
21nsm.AddNamespace("enc", EncryptedXml.XmlEncNamespaceUrl); 22nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedKey.cs (2)
60nsm.AddNamespace("enc", EncryptedXml.XmlEncNamespaceUrl); 61nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedReference.cs (1)
123nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
336nsm.AddNamespace("enc", EncryptedXml.XmlEncNamespaceUrl); 680nsm.AddNamespace("enc", EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\EncryptionMethod.cs (1)
90nsm.AddNamespace("enc", EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (1)
288nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\Reference.cs (1)
223nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
124xmlNamespaceManager.AddNamespace(xmlDsigNamespacePrefix, SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\Signature.cs (1)
152nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\SignedInfo.cs (1)
218nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\TransformChain.cs (1)
180nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (2)
158_nsm.AddNamespace("enc", EncryptedXml.XmlEncNamespaceUrl); 172_nsm.AddNamespace("enc", EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (3)
89_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl); 104_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl); 117_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
70_nsm.AddNamespace(prefix, namespaceURI);
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (3)
138_namespaceManager.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl); 139_namespaceManager.AddNamespace("enc", EncryptedXml.XmlEncNamespaceUrl); 140_namespaceManager.AddNamespace("r", Consts.NamespaceUriCore);
System.Windows.Forms.Analyzers (3)
System\Windows\Forms\Analyzers\AppManifestAnalyzer.cs (3)
57nsMgr.AddNamespace("v1", "urn:schemas-microsoft-com:asm.v1"); 58nsMgr.AddNamespace("v3", "urn:schemas-microsoft-com:asm.v3"); 59nsMgr.AddNamespace("v3ws", "http://schemas.microsoft.com/SMI/2005/WindowsSettings");