Generic fixes
Merge branch 'master' of https://github.com/MasDevProject/CSharp.Common