8 references to Replace
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\RecordTests.cs (2)
13851
ilSource: ilSource_template.Replace("INJECT", inject).
Replace
("RAN", ranBody).
Replace
("THROW", throwBody),
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));