From: Jeff Zapotoczny <47899134+jeff-zapotoczny-sonarsource@users.noreply.github.com> Date: Tue, 2 Jul 2019 18:04:32 +0000 (-0500) Subject: Fixing hashmark in MethodId heading specific to C Sharp (#1868) X-Git-Tag: 8.0~408 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=74f7711d22e5e18f3219979da1b7f61e792cb734;p=sonarqube.git Fixing hashmark in MethodId heading specific to C Sharp (#1868) --- diff --git a/server/sonar-docs/src/pages/analysis/security_configuration.md b/server/sonar-docs/src/pages/analysis/security_configuration.md index be1856c2a30..0993c6435df 100644 --- a/server/sonar-docs/src/pages/analysis/security_configuration.md +++ b/server/sonar-docs/src/pages/analysis/security_configuration.md @@ -198,7 +198,7 @@ Example: `Symfony\\Component\\HttpFoundation\\Request::getUser` for the `getUser Note: the `methodId` should be related to methods or functions that are part of the analysis scope. Because we recommended to not analyze code of frameworks at the same time that you scan your own source code, defining methods or functions from frameworks will have no effect. This is linked to the fact that the SonarQube security engine needs to know the runtime type of each variable. The type can't be guessed when objects are created by frameworks' factories. Out of the box, the SonarQube security engine supports the main Symfony and Laravel types. -### MethodId for C# +### MethodId for C# If you want to declare the constructor `SqlCommand` belonging to the namespace `System.Data.SqlClient` as a sink, the `methodId` should be: