big clean up

This commit is contained in:
Adam Hathcock
2022-12-20 15:06:44 +00:00
parent 970e31a1b1
commit 959bbdcf1b
378 changed files with 59744 additions and 60562 deletions

View File

@@ -1,18 +1,17 @@
#if NETFRAMEWORK || NETSTANDARD2_0
#if NETFRAMEWORK || NETSTANDARD2_0
namespace SharpCompress
namespace SharpCompress;
internal static class StringExtensions
{
internal static class StringExtensions
internal static bool EndsWith(this string text, char value)
{
internal static bool EndsWith(this string text, char value)
{
return text.Length > 0 && text[text.Length - 1] == value;
}
return text.Length > 0 && text[text.Length - 1] == value;
}
internal static bool Contains(this string text, char value)
{
return text.IndexOf(value) > -1;
}
internal static bool Contains(this string text, char value)
{
return text.IndexOf(value) > -1;
}
}