AJMitev / FileTypeChecker

Cross platform file type validator for .NET
MIT License
139 stars 27 forks source link

Adds Null-conditional operator to Is<T> extension check #18

Closed Hejle closed 2 years ago

Hejle commented 2 years ago

There was a NullReferenceException in case an unknonw or invalid file was checked using Is. This fixes the issue and adds a UnitTest that can catch it.