10 references to Replace
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\RecordTests.cs (2)
13911
ilSource: ilSource_template.Replace("INJECT", inject).
Replace
("RAN", ranBody).
Replace
("THROW", throwBody),
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\TraceLog.cs (1)
72
relativeDir = relativeDir.Replace('\\', '_').
Replace
('/', '_');
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
AbstractResxGenerator.cs (1)
85
resourceName = relativeDir.Replace(Path.DirectorySeparatorChar, '.').
Replace
(Path.AltDirectorySeparatorChar, '.') + resourceName;
Microsoft.CodeAnalysis.UnitTests (6)
Collections\ImmutableSegmentedListTest.cs (6)
529
Assert.Equal<int>(new[] { 4, 5, 8 }, System.Collections.Immutable.ImmutableList.
Replace
((System.Collections.Immutable.IImmutableList<int>)list, 3, 4));
530
Assert.Equal<int>(new[] { 3, 6, 8 }, System.Collections.Immutable.ImmutableList.
Replace
((System.Collections.Immutable.IImmutableList<int>)list, 5, 6));
531
Assert.Equal<int>(new[] { 3, 5, 9 }, System.Collections.Immutable.ImmutableList.
Replace
((System.Collections.Immutable.IImmutableList<int>)list, 8, 9));
537
Assert.Equal<int>(new[] { 4, 3, 5 }, System.Collections.Immutable.ImmutableList.
Replace
((System.Collections.Immutable.IImmutableList<int>)list, 3, 4));
538
Assert.Equal<int>(new[] { 4, 4, 5 }, System.Collections.Immutable.ImmutableList.
Replace
(System.Collections.Immutable.ImmutableList.
Replace
((System.Collections.Immutable.IImmutableList<int>)list, 3, 4), 3, 4));