SONARDOTNT-315 Fix some false positives when used with delegates