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