fix Sonar warning
fix Sonar warning

hubo0831/NLog,ie-zero/NLog,NLog/NLog,BrutalCode/NLog,304NotModified/NLog,nazim9214/NLog,hubo0831/NLog,nazim9214/NLog,luigiberrettini/NLog,UgurAldanmaz/NLog,UgurAldanmaz/NLog,luigiberrettini/NLog,BrutalCode/NLog,sean-gilliam/NLog,snakefoot/NLog,ie-zero/NLog