5 references to Replace
dotnet (1)
Commands\Run\FileBasedAppSourceEditor.cs (1)
239SourceFile = SourceFile with { Text = SourceFile.Text.Replace(start: start, length: length, newText: string.Empty) };
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConditionalExpressionInStringInterpolation\CSharpAddParenthesesAroundConditionalExpressionInInterpolatedStringCodeFixProvider.cs (2)
63var textWithOpenParenthesis = text.Replace(openParenthesisPosition, 0, "("); 113var textWithCloseParenthesis = sourceText.Replace(closeParenPosition, 0, ")");
Microsoft.CodeAnalysis.CSharp.Features (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConditionalExpressionInStringInterpolation\CSharpAddParenthesesAroundConditionalExpressionInInterpolatedStringCodeFixProvider.cs (2)
63var textWithOpenParenthesis = text.Replace(openParenthesisPosition, 0, "("); 113var textWithCloseParenthesis = sourceText.Replace(closeParenPosition, 0, ")");