4 references to DescendantsAndSelf
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\XmlEncryptionExtensions.cs (1)
204return element.DescendantsAndSelf(XmlConstants.EncryptedSecretElementName).Any();
Roslyn.Test.PdbUtilities (2)
Reader\PdbValidation.cs (2)
659var expectedTags = pdbXml.DescendantsAndSelf("closure").Select((c, i) => new { Tag = $"<C:{i}>", StartIndex = methodStart + int.Parse(c.Attribute("offset").Value) }).ToList(); 662expectedTags.AddRange(pdbXml.DescendantsAndSelf("lambda").Select((c, i) => new { Tag = $"<L:{i}.{int.Parse(c.Attribute("closure").Value)}>", StartIndex = methodStart + int.Parse(c.Attribute("offset").Value) }));
System.Private.Xml.Linq (1)
System\Xml\Linq\XElement.cs (1)
451/// <seealso cref="XElement.DescendantsAndSelf(XName)"/>