versions used: SonarQube 8 with latest version of the Azure DevOps Server extensions
It looks like the simplified using syntax is not allways correctly recognized because the following code is marked as a bug:
using FileStream ausgabestrom = new FileStream(temporaererDateiname, FileMode.Create);
ausgabestrom.Write(pdf, 0, pdf.Length);
When reverting this to
using (FileStream ausgabestrom = new FileStream(temporaererDateiname, FileMode.Create))
{
ausgabestrom.Write(pdf, 0, pdf.Length);
}
everything is fine again.