Skip to content

Commit 4b56a06

Browse files
committed
C#: Add UTF-8 encoded string test case.
1 parent f32cf17 commit 4b56a06

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

csharp/ql/test/library-tests/csharp11/Strings.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,14 @@ spans multiple lines.
3535
Show matching set of curly braces: {{{message2}}}
3636
""";
3737
}
38+
39+
40+
public void M3()
41+
{
42+
// UTF-8 encoded.
43+
var x = "AUTH8: "u8;
44+
45+
// UTF-16 encoded.
46+
var y = "AUTH16: ";
47+
}
3848
}

0 commit comments

Comments
 (0)