18 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.AspNetCore.OpenApi.SourceGenerators (8)
XmlComments\XmlComment.cs (7)
94element.ReplaceWith(new XText(bulletText)); 108element.ReplaceWith(new XText(codeBlockDelimiter + codeText + codeBlockDelimiter)); 126element.ReplaceWith(new XText(paramName)); 141element.ReplaceWith(new XText(paramName)); 155element.ReplaceWith(new XText(paraText)); 200item.ReplaceWith(new XText(type)); 228item.ReplaceWith(new XText($"`{langword}`"));
XmlComments\XmlComment.InheritDoc.cs (1)
249typeParameterRef.ReplaceWith(replacement);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
431element.ReplaceWith(XElement.Parse("<MethodKind>Ordinary</MethodKind>"));
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Extensions\ISymbolExtensions.cs (1)
441typeParameterRef.ReplaceWith(replacement);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
431element.ReplaceWith(XElement.Parse("<MethodKind>Ordinary</MethodKind>"));
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);