4 references to DescendantsAndSelf
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\XmlEncryptionExtensions.cs (1)
204
return element.
DescendantsAndSelf
(XmlConstants.EncryptedSecretElementName).Any();
Roslyn.Test.PdbUtilities (2)
Reader\PdbValidation.cs (2)
659
var expectedTags = pdbXml.
DescendantsAndSelf
("closure").Select((c, i) => new { Tag = $"<C:{i}>", StartIndex = methodStart + int.Parse(c.Attribute("offset").Value) }).ToList();
662
expectedTags.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)"/>