Skip to content

Commit f1ec025

Browse files
committed
Fix nulability warning
1 parent 0c58ecc commit f1ec025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BinaryObjectScanner/FileType/Executable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ public ConcurrentDictionary<IPortableExecutableCheck, string> RunPortableExecuta
544544
/// </summary>
545545
private static IEnumerable<T>? InitCheckClasses<T>(Assembly assembly)
546546
{
547-
List<T?> types = [];
547+
List<T> types = [];
548548
try
549549
{
550550
foreach (Type type in assembly.GetTypes())

0 commit comments

Comments
 (0)