Analysis of PowerShell source code

Hi! I checked the source code of PowerShell with the static code analyzer PVS-Studio and found some interesting code fragments that I have described in an article. The article is available by the link:
I think, it will be quite interesting to read about it.