diff --git a/analyzers/its/sources/ManuallyAddedNoncompliantIssues.CS/IntentionalFindings/S3655.cs b/analyzers/its/sources/ManuallyAddedNoncompliantIssues.CS/IntentionalFindings/S3655.cs new file mode 100644 index 00000000000..dac524851e8 --- /dev/null +++ b/analyzers/its/sources/ManuallyAddedNoncompliantIssues.CS/IntentionalFindings/S3655.cs @@ -0,0 +1,19 @@ +/* + * + * Copyright (c) - + * + * Please configure this header in your SonarCloud/SonarQube quality profile. + * You can also set it in SonarLint.xml additional file for SonarLint or standalone NuGet analyzer. + */ + +namespace IntentionalFindings +{ + public class S3655 + { + public void ValueAccessOnEmptyNullable() + { + int? i = null; + _ = i.Value; // Noncompliant (S3655) {{'i' is null on at least one execution path.}} + } + } +}