20 references to XElement
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
403UpgradeSerialization_4To5(rootElement = new XElement(rootElement));
Microsoft.AspNetCore.DataProtection (9)
Repositories\EphemeralXmlRepository.cs (3)
41yield return new XElement(element); // makes a deep copy so caller doesn't inadvertently modify it 49var cloned = new XElement(element); // makes a deep copy so caller doesn't inadvertently modify it 70deletableElements.Add(new DeletableElement(storedElement, new XElement(storedElement)));
XmlEncryption\NullXmlDecryptor.cs (1)
31return new XElement(encryptedElement.Elements().Single());
XmlEncryption\NullXmlEncryptor.cs (1)
58new XElement(plaintextElement) /* copy ctor */);
XmlEncryption\XmlEncryptionExtensions.cs (4)
29var doc = new XDocument(new XElement(element)); 49var clonedElementWhichRequiresDecryption = new XElement(elementWhichRequiresDecryption); 111var doc = new XDocument(new XElement(element)); 130var clonedElementWhichRequiresEncryption = new XElement(elementWhichRequiresEncryption);
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
403UpgradeSerialization_4To5(rootElement = new XElement(rootElement));
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
403UpgradeSerialization_4To5(rootElement = new XElement(rootElement));
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
403UpgradeSerialization_4To5(rootElement = new XElement(rootElement));
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
403UpgradeSerialization_4To5(rootElement = new XElement(rootElement));
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
403UpgradeSerialization_4To5(rootElement = new XElement(rootElement));
Microsoft.DotNet.Build.Tasks.Installers (2)
src\GenerateMacOSDistributionFile.cs (2)
77choiceElements.Select(c => new XElement(c) 80choiceElements.Select(c => new XElement(c)
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
403UpgradeSerialization_4To5(rootElement = new XElement(rootElement));
Stress.ApiService (1)
Program.cs (1)
298var xmlWithUrl = new XElement(new XElement("url", "http://localhost:8080")).ToString();
System.Private.Xml.Linq (1)
System\Xml\Linq\XElement.cs (1)
1955return new XElement(this);