Exclude folder with generated files

Hi, I use sonarqube on .net (azure devops). My build pipeline generates (during the build step) *.cs files (the executes command in dotnet-tools.json) .
All this files are in a separate folder “generated_files”. How I can exclude this folder from analyze? Is there a way to exclude all “generated_files” folders? Thanks in advance!