diff --git a/src/Mime-Detective/Analyzers/LinearTrie.cs b/src/Mime-Detective/Analyzers/LinearTrie.cs
index 5972290..15a03df 100644
--- a/src/Mime-Detective/Analyzers/LinearTrie.cs
+++ b/src/Mime-Detective/Analyzers/LinearTrie.cs
@@ -98,7 +98,7 @@ public unsafe FileType Search(in ReadResult readResult)
i++;
//collect the record
- if (i > highestMatchingCount && (object)node.Record != null)
+ if (i > highestMatchingCount && !(node.Record is null))
{
match = node.Record;
highestMatchingCount = i;
diff --git a/src/Mime-Detective/Extensions/FileInfo/FileInfoExtensions.cs b/src/Mime-Detective/Extensions/FileInfo/FileInfoExtensions.cs
index bd9d6ef..8c16aa2 100644
--- a/src/Mime-Detective/Extensions/FileInfo/FileInfoExtensions.cs
+++ b/src/Mime-Detective/Extensions/FileInfo/FileInfoExtensions.cs
@@ -94,10 +94,12 @@ public static bool IsType(this FileInfo file, FileType type)
}
///
- /// Checks if the file is executable
+ /// Checks if the file is executable file .exe
///
///
- ///
+ ///
+ /// true if the specified file is type; otherwise, false.
+ ///
public static bool IsExe(this FileInfo fileInfo) => fileInfo.IsType(MimeTypes.DLL_EXE);
///
@@ -107,7 +109,9 @@ public static bool IsType(this FileInfo file, FileType type)
/// But it could be MSWord or MSExcel, or Powerpoint...
///
///
- ///
+ ///
+ /// true if the specified file is type; otherwise, false.
+ ///
public static bool IsMsi(this FileInfo fileInfo)
{
// MSI has a generic DOCFILE header. Also it matches PPT files
diff --git a/src/Mime-Detective/Mime-Detective.csproj b/src/Mime-Detective/Mime-Detective.csproj
index 77a3a62..730a601 100644
--- a/src/Mime-Detective/Mime-Detective.csproj
+++ b/src/Mime-Detective/Mime-Detective.csproj
@@ -1,10 +1,10 @@
- Mime-Detective can find the MIME Types of files
+ Detect MIME type from files.
Mime-Detective
Joshua Clark
- netstandard1.3;net45
+ netstandard1.3;net45;netstandard2.0
Mime-Detective
Mime-Detective
mime, mime detective, file types
@@ -13,14 +13,10 @@
https://github.com/clarkis117/Mime-Detective/blob/master/LICENSE
git
https://github.com/clarkis117/Mime-Detective.git
-
- $(PackageTargetFallback);portable-net45+win8
-
0.0.6.0
0.0.6.0
- See beta4 PR
- 0.0.6.0-beta4
- true
+ See beta5 PR
+ 0.0.6.0-beta5
true
@@ -32,16 +28,7 @@
-
-
-
-
-
-
-
-
-
-
+