fix for applying IsVisibleInLibrary attribute to getter

This is a fix for regression caused by: https://github.com/aparajit-pratap/Dynamo/commit/c4cb901182b7066995e43c9db6e590dc630b91e2

The `HiddenInLibrary ` attribute on the type was earlier not being assigned to the getter `MethodInfo`. This has now been fixed.

@sharadkjaiswal please review