mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
C#: Add UTF-8 encoded string test case.
This commit is contained in:
@@ -35,4 +35,14 @@ public class MyTestClass
|
||||
Show matching set of curly braces: {{{message2}}}
|
||||
""";
|
||||
}
|
||||
|
||||
|
||||
public void M3()
|
||||
{
|
||||
// UTF-8 encoded.
|
||||
var x = "AUTH8: "u8;
|
||||
|
||||
// UTF-16 encoded.
|
||||
var y = "AUTH16: ";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user