Support ancient .NET in FileTypes

This commit is contained in:
Matt Nadareski
2024-02-28 21:59:13 -05:00
parent 080c8a749b
commit de59d0252c
49 changed files with 597 additions and 59 deletions

View File

@@ -358,7 +358,11 @@ namespace RVIO
catch (Exception e)
{
stream = null;
#if NET462_OR_GREATER || NETCOREAPP
return e.HResult;
#else
return -1;
#endif
}
}
@@ -372,7 +376,11 @@ namespace RVIO
catch (Exception e)
{
stream = null;
#if NET462_OR_GREATER || NETCOREAPP
return e.HResult;
#else
return -1;
#endif
}
}
}