57 references to SelectNodes
Microsoft.Build.Tasks.Core (18)
BootstrapperUtil\BootstrapperBuilder.cs (12)
622XmlNodeList productsFound = rootElement.SelectNodes(BOOTSTRAPPER_PREFIX + ":Product", _xmlNamespaceManager); 669foreach (XmlNode relatedProductNode in eitherProductNode.SelectNodes(String.Format(CultureInfo.InvariantCulture, "{0}:DependsOnProduct", BOOTSTRAPPER_PREFIX), _xmlNamespaceManager)) 712XmlNodeList relatedProducts = p.Node.SelectNodes(string.Format(CultureInfo.InvariantCulture, "{0}:Package/{1}:RelatedProducts/{2}:{3}", BOOTSTRAPPER_PREFIX, BOOTSTRAPPER_PREFIX, BOOTSTRAPPER_PREFIX, nodeName), _xmlNamespaceManager); 730XmlNodeList eitherProducts = p.Node.SelectNodes(string.Format(CultureInfo.InvariantCulture, "{0}:Package/{1}:RelatedProducts/{2}:EitherProducts", BOOTSTRAPPER_PREFIX, BOOTSTRAPPER_PREFIX, BOOTSTRAPPER_PREFIX), _xmlNamespaceManager); 1082XmlNodeList packageNodeList = node.SelectNodes(BOOTSTRAPPER_PREFIX + ":Package", _xmlNamespaceManager); 1125XmlNodeList nodeList = targetNode.SelectNodes(BOOTSTRAPPER_PREFIX + string.Format(CultureInfo.InvariantCulture, ":*[@{0}='{1}']", attributeName, oldValue), _xmlNamespaceManager); 1160XmlNodeList packageFileNodeList = packageFilesNode.SelectNodes(BOOTSTRAPPER_PREFIX + ":PackageFile", _xmlNamespaceManager); 1304XmlNodeList packageFileNodeList = node.SelectNodes("//" + BOOTSTRAPPER_PREFIX + ":*[@PackageFile]", _xmlNamespaceManager); 1335XmlNodeList packageFileNodeList = packageFilesNode.SelectNodes(BOOTSTRAPPER_PREFIX + ":PackageFile", _xmlNamespaceManager); 1344XmlNodeList stringKeyNodeList = node.SelectNodes("//" + BOOTSTRAPPER_PREFIX + ":*[@String]", _xmlNamespaceManager); 1408XmlNodeList packageFileNodes = node.SelectNodes(BOOTSTRAPPER_PREFIX + ":PackageFiles/" + BOOTSTRAPPER_PREFIX + ":PackageFile", _xmlNamespaceManager); 1900XmlNodeList sourceNodeList = sourceNodes.SelectNodes(BOOTSTRAPPER_PREFIX + ":" + sourceSubNodeName, _xmlNamespaceManager);
ManifestUtil\ApplicationManifest.cs (1)
537XmlNodeList nodes = document.SelectNodes(XPaths.configBindingRedirect, nsmgr);
ManifestUtil\ManifestReader.cs (3)
30XmlNodeList comNodes = document.SelectNodes(XPaths.comFilesPath, nsmgr); 36XmlNodeList clsidNodes = comNode.SelectNodes(XPaths.clsidAttribute, nsmgr); 42XmlNodeList tlbidNodes = comNode.SelectNodes(XPaths.tlbidAttribute, nsmgr);
ManifestUtil\SecurityUtil.cs (1)
440XmlNodeList nodes = psElement.SelectNodes(XPaths.permissionClassAttributeQuery, nsmgr);
ManifestUtil\TrustInfo.cs (1)
773XmlNodeList permissionSetNodes = applicationRequestMinimumElement.SelectNodes(XPaths.permissionSetElement, nsmgr);
Microsoft.Build.Tasks.UnitTests (1)
XmlPoke_Tests.cs (1)
57List<XmlAttribute> nodes = xmlDocument.SelectNodes(query, ns)?.Cast<XmlAttribute>().ToList();
Microsoft.DotNet.SignCheckLibrary (1)
Verification\VsixVerifier.cs (1)
54XmlNode encodedTimeNode = element.SelectNodes("//ds:TimeStamp/ds:EncodedTime", namespaceManager).OfType<XmlNode>().FirstOrDefault();
Microsoft.Maui.Controls.SourceGen (3)
CodeBehindGenerator.cs (3)
469 root.SelectNodes( 684 var onPlatformNodes = node.SelectNodes("//__f__:OnPlatform", nsmgr); 687 var onNodes = onPlatformNode.SelectNodes("__f__:On", nsmgr);
PresentationFramework (2)
MS\Internal\Data\XmlBindingWorker.cs (1)
511nodes = ContextNode.SelectNodes(XPath, nsMgr);
System\Windows\Data\XmlDataProvider.cs (1)
778nodes = doc.SelectNodes(xpath, XmlNamespaceManager);
System.Security.Cryptography.Xml (32)
System\Security\Cryptography\Xml\EncryptedData.cs (1)
55XmlNodeList? encryptionPropertyNodes = encryptionPropertiesNode.SelectNodes("enc:EncryptionProperty", nsm);
System\Security\Cryptography\Xml\EncryptedKey.cs (3)
95XmlNodeList? encryptionPropertyNodes = encryptionPropertiesNode.SelectNodes("enc:EncryptionProperty", nsm); 119XmlNodeList? dataReferenceNodes = referenceListNode.SelectNodes("enc:DataReference", nsm); 130XmlNodeList? keyReferenceNodes = referenceListNode.SelectNodes("enc:KeyReference", nsm);
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
337XmlNodeList? encryptedKeyList = _document.SelectNodes("//enc:EncryptedKey", nsm); 681XmlNodeList? encryptedDataList = _document.SelectNodes("//enc:EncryptedData", nsm);
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (5)
290XmlNodeList x509IssuerSerialNodes = element.SelectNodes("ds:X509IssuerSerial", nsm)!; 291XmlNodeList x509SKINodes = element.SelectNodes("ds:X509SKI", nsm)!; 292XmlNodeList x509SubjectNameNodes = element.SelectNodes("ds:X509SubjectName", nsm)!; 293XmlNodeList x509CertificateNodes = element.SelectNodes("ds:X509Certificate", nsm)!; 294XmlNodeList x509CRLNodes = element.SelectNodes("ds:X509CRL", nsm)!;
System\Security\Cryptography\Xml\Reference.cs (5)
228XmlNodeList? transformsNodes = value.SelectNodes("ds:Transforms", nsm); 241XmlNodeList? transformNodes = transformsElement.SelectNodes("ds:Transform", nsm); 295XmlNodeList? signatureList = referenceTarget?.SelectNodes(".//ds:Signature", nsm); 315XmlNodeList? digestMethodNodes = value.SelectNodes("ds:DigestMethod", nsm); 325XmlNodeList? digestValueNodes = value.SelectNodes("ds:DigestValue", nsm);
System\Security\Cryptography\Xml\Signature.cs (5)
156XmlNodeList? signedInfoNodes = signatureElement.SelectNodes("ds:SignedInfo", nsm); 166XmlNodeList? signatureValueNodes = signatureElement.SelectNodes("ds:SignatureValue", nsm); 177XmlNodeList? keyInfoNodes = signatureElement.SelectNodes("ds:KeyInfo", nsm); 195XmlNodeList? objectNodes = signatureElement.SelectNodes("ds:Object", nsm); 213XmlNodeList? nodeList = signatureElement.SelectNodes("//*[@Id]", nsm);
System\Security\Cryptography\Xml\SignedInfo.cs (3)
227XmlNodeList? canonicalizationMethodNodes = signedInfoElement.SelectNodes("ds:CanonicalizationMethod", nsm); 240XmlNodeList? signatureMethodNodes = signedInfoElement.SelectNodes("ds:SignatureMethod", nsm); 258XmlNodeList? referenceNodes = signedInfoElement.SelectNodes("ds:Reference", nsm);
System\Security\Cryptography\Xml\TransformChain.cs (1)
182XmlNodeList? transformNodes = value.SelectNodes("ds:Transform", nsm);
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (3)
160_encryptedDataList = document.SelectNodes("//enc:EncryptedData", _nsm); 174_encryptedDataList = document.SelectNodes("//enc:EncryptedData", _nsm); 246XmlNodeList nodes = child.SelectNodes("//enc:EncryptedData", _nsm!)!;
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (2)
130XmlNodeList? signatureList = _containingDocument.SelectNodes("//dsig:Signature", _nsm!); 168XmlNodeList? signatureList = _containingDocument.SelectNodes("//dsig:Signature", _nsm!);
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (2)
159XmlNodeList issuerList = currentLicenseContext.SelectNodes("descendant-or-self::r:license[1]/r:issuer", _namespaceManager)!; 172XmlNodeList encryptedGrantList = currentLicenseContext.SelectNodes("/r:license/r:grant/r:encryptedGrant", _namespaceManager)!;