Revert "Revert "Fixed 'Bug 17277 - Code analysis having problems with corelib'.""

This reverts commit f3b05bf63e6af89e19f6f65252d57920da48f7cd.
[Ide] Fixed unit tests