Skip to content

Commit b50e2ef

Browse files
committed
Update Extensions.cs
1 parent 4295148 commit b50e2ef

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Verify/Extensions.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -203,17 +203,6 @@ public static TValue GetOrAdd<TKey, TValue>(this Dictionary<TKey, TValue> dictio
203203
return dictionary[key] = factory(key);
204204
}
205205

206-
public static void ReplaceTokens(this StringBuilder builder, IReadOnlyCollection<KeyValuePair<string, string>> replaces)
207-
{
208-
foreach (var replace in replaces)
209-
{
210-
if (builder.Length >= replace.Key.Length)
211-
{
212-
builder.Replace(replace.Key, replace.Value);
213-
}
214-
}
215-
}
216-
217206
public static void Overwrite(this StringBuilder builder, string value, int index, int length)
218207
{
219208
builder.Remove(index, length);

0 commit comments

Comments
 (0)