Skip to content

Commit

Permalink
method RemoveDiacritics is now available in netstandard2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrock committed Feb 16, 2023
1 parent 1d1303f commit 7e3475f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.
6 changes: 0 additions & 6 deletions Sources/NET4.SrkToolkit.Common/System/StringTransformer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,6 @@ public static string RemoveDiacritics(this string input)
if (input == null)
return null;

#if NSTD
// TODO: support for netstandard
throw new NotSupportedException();
#else

string stFormD = input.Normalize(NormalizationForm.FormD);
int len = stFormD.Length;
StringBuilder sb = new StringBuilder(input.Length);
Expand All @@ -356,7 +351,6 @@ public static string RemoveDiacritics(this string input)
}

return sb.ToString().Normalize(NormalizationForm.FormC);
#endif
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion Sources/SrkToolkit.Mvvm.AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
[assembly: ComVisible(false)]

[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.142")]
[assembly: AssemblyFileVersion("1.2.0.143")]

[assembly: InternalsVisibleTo("SrkToolkit.Mvvm.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010077f1652580ffa2d56ce4dc68d05f1a28417937d76f2b9f03308abd09826c6782117e9c64420c359b8ca6dc9bac3820264248324316f538822b1b3039cafa8110e6a097b1ccfb30603f640278256193fd83093aa3230ce7bb329372b2883cda3e6131391467eb5e63debf8bcea1f0b6fc991af6960b3d75bd496ca4155dd644b8")]
29 changes: 0 additions & 29 deletions Sources/SrkToolkit.Sl4Base/SrkToolkit.Sl4Base.csproj.user

This file was deleted.

0 comments on commit 7e3475f

Please sign in to comment.