From 191dae47fd2f86d3042426eaa9359b25adc0b21b Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Mon, 29 Sep 2025 09:32:34 +0200 Subject: [PATCH] C#: Add a stub for the System.Uri class for the CWE-611 test. --- .../query-tests/Security Features/CWE-611/stubs.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/csharp/ql/test/query-tests/Security Features/CWE-611/stubs.cs b/csharp/ql/test/query-tests/Security Features/CWE-611/stubs.cs index 04c39623cac..6375ac035c1 100644 --- a/csharp/ql/test/query-tests/Security Features/CWE-611/stubs.cs +++ b/csharp/ql/test/query-tests/Security Features/CWE-611/stubs.cs @@ -1,3 +1,9 @@ -namespace System.Web; +namespace System +{ + public class Uri { } -public interface IHtmlString { } + namespace Web + { + public interface IHtmlString { } + } +}