Added support fot Code Analysis (.Net)

Created tests also.