File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
csharp/ql/test/library-tests/csharp11 Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -599,6 +599,19 @@ Strings.cs:
599599# 46| -1: [TypeMention] string
600600# 46| 0: [LocalVariableAccess] access to local variable y
601601# 46| 1: [StringLiteralUtf16] "AUTH16: "
602+ # 49| 2: [LocalVariableDeclStmt] ... ...;
603+ # 49| 0: [LocalVariableDeclAndInitExpr] ReadOnlySpan<Byte> z = ...
604+ # 49| -1: [TypeMention] ReadOnlySpan<byte>
605+ # 49| 0: [LocalVariableAccess] access to local variable z
606+ # 49| 1: [StringLiteralUtf8] "AUTH8:
607+ # 49| <username> "
608+ # 53| 3: [LocalVariableDeclStmt] ... ...;
609+ # 53| 0: [LocalVariableDeclAndInitExpr] ReadOnlySpan<Byte> w = ...
610+ # 53| -1: [TypeMention] ReadOnlySpan<byte>
611+ # 53| 0: [LocalVariableAccess] access to local variable w
612+ # 53| 1: [StringLiteralUtf8] "The nested message
613+ # 53| is UTF-8 encoded and
614+ # 53| spans multiple lines."
602615cil/class1.cs:
603616# 4| [Class] Class1
604617# 6| 5: [Method] Main
Original file line number Diff line number Diff line change @@ -19,3 +19,5 @@ stringliterals
1919| Strings.cs:35:57:35:57 | "}" | StringLiteralUtf16 | String |
2020| Strings.cs:43:17:43:27 | "AUTH8: " | StringLiteralUtf8 | ReadOnlySpan<Byte> |
2121| Strings.cs:46:17:46:26 | "AUTH16: " | StringLiteralUtf16 | String |
22+ | Strings.cs:49:17:50:22 | "AUTH8: \n <username> " | StringLiteralUtf8 | ReadOnlySpan<Byte> |
23+ | Strings.cs:53:17:57:13 | "The nested message\n is UTF-8 encoded and\nspans multiple lines." | StringLiteralUtf8 | ReadOnlySpan<Byte> |
You can’t perform that action at this time.
0 commit comments