small change

This commit is contained in:
Timerix22 2023-04-05 22:34:39 +06:00
parent bb55c69108
commit ea9292f65f
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<!--package info--> <!--package info-->
<PackageId>DTLib</PackageId> <PackageId>DTLib</PackageId>
<Version>1.2.2</Version> <Version>1.2.3</Version>
<Authors>Timerix</Authors> <Authors>Timerix</Authors>
<Description>Library for all my C# projects</Description> <Description>Library for all my C# projects</Description>
<RepositoryType>GIT</RepositoryType> <RepositoryType>GIT</RepositoryType>

View File

@ -113,7 +113,7 @@ public readonly struct IOPath
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
public IOPath Replace(char oldChar, char newChar) => new(Str.Replace(oldChar, newChar), true); public IOPath Replace(char oldChar, char newChar) => new(Str.Replace(oldChar, newChar), true);
[MethodImpl(MethodImplOptions.AggressiveInlining)] [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);
///<inheritdoc cref="string.IndexOf(char)"/> ///<inheritdoc cref="string.IndexOf(char)"/>
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]