mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Support ancient .NET in FileTypes
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user