9 references to Replace
Microsoft.CodeAnalysis.CSharp (1)
Syntax\AnonymousFunctionExpressionSyntax.cs (1)
53return Modifiers.Replace(existingAsync, asyncKeyword);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
RemoveAsyncModifierHelpers.cs (1)
45newModifiers = modifiers.Replace(
Microsoft.CodeAnalysis.CSharp.Features (1)
RemoveAsyncModifierHelpers.cs (1)
45newModifiers = modifiers.Replace(
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxTokenListTests.cs (4)
141newList = list.Replace(elementA, tokenD); 145newList = list.Replace(elementB, tokenD); 149newList = list.Replace(elementC, tokenD); 230Assert.Throws<ArgumentOutOfRangeException>(() => list.Replace(tokenD, tokenE));
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
RemoveAsyncModifierHelpers.vb (1)
21newModifiers = modifiers.Replace(
Microsoft.CodeAnalysis.VisualBasic.Features (1)
RemoveAsyncModifierHelpers.vb (1)
21newModifiers = modifiers.Replace(