Optimized code on GenericSafeHandle and removed check for invalid on release as this duplicated internal functionality.
Optimized code on GenericSafeHandle and removed check for invalid on release as this duplicated internal functionality.

dahall/vanara