17 references to Replace
Aspire.Templates.Tests (1)
TemplateTestsBase.cs (1)
141sb.Replace("Projects.MyAspireApp_AppHost", $"Projects.{classNameFromId}");
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Core\MSBuildTask\Vbc.cs (2)
776finalDefineConstants.Replace("\\\"", "\\\\\""); 779finalDefineConstants.Replace("\"", "\\\"");
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
src\Compilers\Core\MSBuildTask\Vbc.cs (2)
776finalDefineConstants.Replace("\\\"", "\\\\\""); 779finalDefineConstants.Replace("\"", "\\\"");
Microsoft.CodeAnalysis (2)
MetadataReader\MetadataHelpers.cs (2)
1074s.Replace("Q", "QQ"); 1075s.Replace("_", "Q_");
Microsoft.Extensions.AI.Templates.Tests (1)
VerifyScrubbers.cs (1)
33return output.Replace("\r\n", "\n");
Microsoft.Gen.Logging.Unit.Tests (3)
ParserTests.cs (1)
683.AddScrubber(_ => _.Replace(GeneratorUtilities.CurrentVersion, "VERSION"))
ParserTests.LogMethod.cs (1)
378sb.Replace(template, replacement);
ParserTests.LogProperties.cs (1)
489.AddScrubber(_ => _.Replace(GeneratorUtilities.CurrentVersion, "VERSION"))
System.Security.Cryptography.Xml (6)
System\Security\Cryptography\Xml\Utils.cs (6)
423sb.Replace("&", "&amp;"); 424sb.Replace("<", "&lt;"); 425sb.Replace(">", "&gt;"); 439sb.Replace("&", "&amp;"); 440sb.Replace("<", "&lt;"); 441sb.Replace("\"", "&quot;");