Skip to content

Commit c720fb2

Browse files
committed
C#: Add HtmlString test, which is supported as it is a known sink defined in QL.
1 parent 4886bb1 commit c720fb2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

csharp/ql/test/query-tests/Telemetry/SupportedExternalApis/SupportedExternalApis.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,9 @@ public void M5()
4545
Console.SetError(Console.Out); // Has no flow summary, supported as neutral summary model
4646
var x = Console.Read(); // Known source
4747
}
48+
49+
public void M6()
50+
{
51+
var html = new HtmlString("html"); // Supported HtmlSink defined in QL.
52+
}
4853
}

0 commit comments

Comments
 (0)