From ea9292f65fde70d5e3d57e8b5efef7a774599c89 Mon Sep 17 00:00:00 2001 From: Timerix22 Date: Wed, 5 Apr 2023 22:34:39 +0600 Subject: [PATCH] small change --- DTLib/DTLib.csproj | 2 +- DTLib/Filesystem/IOPath.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DTLib/DTLib.csproj b/DTLib/DTLib.csproj index f143e0f..079e973 100644 --- a/DTLib/DTLib.csproj +++ b/DTLib/DTLib.csproj @@ -2,7 +2,7 @@ DTLib - 1.2.2 + 1.2.3 Timerix Library for all my C# projects GIT diff --git a/DTLib/Filesystem/IOPath.cs b/DTLib/Filesystem/IOPath.cs index 8aae5fa..1128cfa 100644 --- a/DTLib/Filesystem/IOPath.cs +++ b/DTLib/Filesystem/IOPath.cs @@ -113,7 +113,7 @@ public readonly struct IOPath [MethodImpl(MethodImplOptions.AggressiveInlining)] public IOPath Replace(char oldChar, char newChar) => new(Str.Replace(oldChar, newChar), true); [MethodImpl(MethodImplOptions.AggressiveInlining)] - public IOPath ReplaceAnywhere(string oldStr, string newStr) => new(Str.Replace(oldStr, newStr), true); + public IOPath Replace(string oldStr, string newStr) => new(Str.Replace(oldStr, newStr), true); /// [MethodImpl(MethodImplOptions.AggressiveInlining)]