25 references to Replace
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (3)
Microsoft.CodeAnalysis.UnitTests (7)
Text\TextChangeTests.cs (7)
426var newText = text.Replace(new TextSpan(0, 20), "");
437var newText = text.Replace(new TextSpan(10, 6), "");
449var newText = text.Replace(new TextSpan(10, 1), "");
465var textWithSegments = text.Replace(new TextSpan(10, 0), "*");
482var textWithSegments = text.Replace(new TextSpan(10, 0), "*");
486var textWithFewerSegments = textWithSegments.Replace(new TextSpan(9, 3), "");
502var textWithSegments = text.Replace(new TextSpan(0, text.Length), "");
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
Microsoft.VisualStudio.LanguageServices.CSharp (2)
Microsoft.VisualStudio.LanguageServices.VisualBasic (5)