42 references to Elements
BuildBoss (1)
ProjectUtil.cs (1)
87foreach (var element in group.Elements())
CustomEncryptorSample (1)
CustomXmlDecryptor.cs (1)
24return new XElement(encryptedElement.Elements().Single());
dotnet-svcutil-lib (1)
Shared\MSBuildProj.cs (1)
476itemNameElement = reference.Elements().FirstOrDefault(item => item.Name == itemName);
ILLink.Tasks (1)
CombineLinkerXmlFiles.cs (1)
34 foreach (var element in subFile.Root.Elements ()) {
Microsoft.AspNetCore.DataProtection (3)
KeyManagement\XmlKeyManager.cs (1)
580var unencryptedInputToDeserializer = descriptorElement.Elements().Single().DecryptElement(_activator);
XmlEncryption\NullXmlDecryptor.cs (1)
31return new XElement(encryptedElement.Elements().Single());
XmlEncryption\XmlEncryptionExtensions.cs (1)
52var decryptedElement = decryptorInstance.Decrypt(clonedElementWhichRequiresDecryption.Elements().Single());
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\XmlKeyManagerTests.cs (1)
599mockXmlRepository.Setup(o => o.GetAllElements()).Returns(XElement.Parse(xml).Elements().ToArray());
Microsoft.Build.Tasks.Core (1)
ResourceHandling\MSBuildResXReader.cs (1)
32foreach (XElement elem in doc.Element("root").Elements())
Microsoft.CodeAnalysis (2)
RuleSet\RuleSetProcessor.cs (2)
106foreach (XElement childNode in ruleSetNode.Elements()) 157foreach (XElement ruleNode in rulesNode.Elements())
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\MockSymbolTests.cs (1)
106var childSymbols = from childElement in xel.Elements()
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\InlineCompletions\XmlSnippetParser.CodeSnippet.cs (4)
81return codeSnippetsElement.Elements().Where(e => e.Name.LocalName.Equals("CodeSnippet", StringComparison.OrdinalIgnoreCase)).ToImmutableArray(); 93return element.Elements().Where(e => e.Name.LocalName.Equals(localName, StringComparison.OrdinalIgnoreCase)); 98return element?.Elements().FirstOrDefault(e => e.Name.LocalName.Equals(localName, StringComparison.OrdinalIgnoreCase)); 158foreach (var declarationElement in declarations.Elements())
Microsoft.CodeAnalysis.Test.Utilities (2)
Assert\AssertXml.cs (2)
163XElement[] children1 = pair.Item1.Elements().ToArray(); 167foreach (XElement child in pair.Item2.Elements())
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolsTests\Source\GroupClassTests.vb (2)
2590compilationDef.Elements()(1).Remove() 2591compilationDef.Elements()(1).Remove()
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
SolutionGeneration.cs (1)
279var importTargets = document.Root.Elements().Last();
Microsoft.DotNet.Arcade.Sdk (1)
src\SourceBuild\ReadSourceBuildIntermediateNupkgDependencies.cs (1)
53.Elements()
Microsoft.DotNet.Arcade.Sdk.Tests (1)
SourceMappingToNugetConfigTest.cs (1)
79.Elements()
Microsoft.DotNet.SourceBuild.Tasks (7)
src\UsageReport\UsageData.cs (4)
48(xml.Element(nameof(ProjectDirectories))?.Elements()).NullAsEmpty() 52(xml.Element(nameof(NeverRestoredTarballPrebuilts))?.Elements()).NullAsEmpty() 56(xml.Element(nameof(IgnorePatterns))?.Elements()).NullAsEmpty() 60(xml.Element(nameof(Usages))?.Elements()).NullAsEmpty()
src\UsageReport\WriteUsageReports.cs (3)
187.Elements().Skip(1).FirstOrDefault() 248.Elements() 251.Elements()
Microsoft.DotNet.XliffTasks (2)
Model\VsctDocument.cs (1)
31foreach (XElement child in strings.Elements())
Model\XlfDocument.cs (1)
101if (groupElement != null && !groupElement.Elements().Any())
Microsoft.Extensions.FileProviders.Embedded (3)
Manifest\ManifestParser.cs (3)
49var entries = fileSystem.Elements(); 101foreach (var child in element.Elements()) 139if (!element.Elements().Any() &&
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
1416foreach (var child in docElement.Elements())
ServerComparison.FunctionalTests (2)
ResponseCompressionTests.cs (2)
119.Elements() 125.Elements()
System.ComponentModel.TypeConverter (1)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
328return _value = new XDeferredAxis<XElement>((e, n) => n != null ? e.Elements(n) : e.Elements(), (component as XElement)!, null);
System.Private.Xml.Linq (3)
System\Xml\Linq\XContainer.cs (1)
286/// <seealso cref="XContainer.Elements()"/>
System\Xml\Linq\XElement.cs (1)
393/// <seealso cref="XContainer.Elements()"/>
System\Xml\XPath\XNodeNavigator.cs (1)
347foreach (XElement element in c.Elements())