11 references to ReplaceWith
Microsoft.AspNetCore.DataProtection (4)
XmlEncryption\XmlEncryptionExtensions.cs (4)
58elementWhichRequiresDecryption.ReplaceWith(newPlaceholder); 65entry.Key.ReplaceWith(entry.Value); 139elementWhichRequiresEncryption.ReplaceWith(newPlaceholder); 149entry.Key.ReplaceWith(
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
407element.ReplaceWith(XElement.Parse("<MethodKind>Ordinary</MethodKind>"));
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Extensions\ISymbolExtensions.cs (1)
442typeParameterRef.ReplaceWith(replacement);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
407element.ReplaceWith(XElement.Parse("<MethodKind>Ordinary</MethodKind>"));
Microsoft.DotNet.Arcade.Sdk (1)
src\SourceBuild\AddSourceToNuGetConfig.cs (1)
58existingSourceElement.ReplaceWith(sourceElementToAdd);
Microsoft.DotNet.Build.Tasks.Workloads (2)
Msi\WorkloadPackGroupMsi.wix.cs (2)
87dotnetHomeElement.ReplaceWith(dotnetHomeDirectory.ToXml()); 95componentGroupRefElement.ReplaceWith(Enumerable.Range(1, _package.Packs.Count).Select(n => new XElement(ns + "ComponentGroupRef", new XAttribute("Id", "CG_PackageContents" + n))));
System.Private.Xml.Linq (1)
System\Xml\Linq\XNode.cs (1)
558ReplaceWith((object)content);