Skip to content

Commit b2514b3

Browse files
committed
Adjust expected test output
1 parent de45a9b commit b2514b3

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

csharp/ql/test/library-tests/standalone/errorrecovery/DiagnosticsAndErrors.expected

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
11
compilationMessages
2+
| errors.cs:6:1:6:22 | CS8019: Unnecessary using directive. |
3+
| errors.cs:6:7:6:21 | CS0246: The type or namespace name 'NoSuchAssembly1' could not be found (are you missing a using directive or an assembly reference?) |
4+
| errors.cs:7:1:7:41 | CS8019: Unnecessary using directive. |
5+
| errors.cs:7:14:7:28 | CS0246: The type or namespace name 'NoSuchAssembly2' could not be found (are you missing a using directive or an assembly reference?) |
6+
| errors.cs:16:9:16:17 | CS0246: The type or namespace name 'ErrorType' could not be found (are you missing a using directive or an assembly reference?) |
7+
| errors.cs:16:19:16:20 | CS0649: Field 'C1.f1' is never assigned to, and will always have its default value null |
8+
| errors.cs:25:18:25:17 | CS1002: ; expected |
9+
| errors.cs:30:3:30:3 | CS1022: Type or namespace definition, or end-of-file expected |
10+
| errors.cs:33:9:33:10 | CS0101: The namespace 'ErrorRecovery' already contains a definition for 'C1' |
11+
| errors.cs:50:12:50:13 | CS0169: The field 'C2.c1' is never used |
12+
| errors.cs:51:21:51:22 | CS1729: 'C2' does not contain a constructor that takes 1 arguments |
13+
| errors.cs:53:9:53:17 | CS0246: The type or namespace name 'ErrorType' could not be found (are you missing a using directive or an assembly reference?) |
14+
| errors.cs:53:21:53:29 | CS0246: The type or namespace name 'ErrorType' could not be found (are you missing a using directive or an assembly reference?) |
15+
| errors.cs:59:21:59:20 | CS1026: ) expected |
16+
| errors.cs:67:22:67:22 | CS0621: 'C3.M()': virtual or abstract members cannot be private |
17+
| errors.cs:72:22:72:22 | CS0621: 'C4.M(int, string, bool, bool)': virtual or abstract members cannot be private |
18+
| errors.cs:74:17:74:17 | CS0219: The variable 'x' is assigned but its value is never used |
19+
| errors.cs:75:17:75:17 | CS0128: A local variable or function named 'x' is already defined in this scope |
20+
| errors.cs:79:11:79:12 | CS0263: Partial declarations of 'C5' must not specify different base classes |
21+
| errors.cs:82:13:82:13 | CS0414: The field 'C5.F' is assigned but its value is never used |
22+
| errors.cs:83:23:83:23 | CS0547: 'C5.M': property or indexer cannot have void type |
23+
| errors.cs:83:23:83:23 | CS0548: 'C5.M': property or indexer must have at least one accessor |
24+
| errors.cs:83:23:83:23 | CS0621: 'C5.M': virtual or abstract members cannot be private |
25+
| errors.cs:86:11:86:12 | CS0101: The namespace 'ErrorRecovery' already contains a definition for 'C5' |
26+
| errors.cs:89:13:89:13 | CS0414: The field 'C5.F' is assigned but its value is never used |
27+
| errors.cs:90:22:90:22 | CS0547: 'C5.M': property or indexer cannot have void type |
28+
| errors.cs:90:22:90:22 | CS0548: 'C5.M': property or indexer must have at least one accessor |
29+
| errors.cs:90:22:90:22 | CS0621: 'C5.M': virtual or abstract members cannot be private |
30+
| errors.cs:91:45:91:45 | CS0103: The name 'x' does not exist in the current context |
31+
| errors.cs:92:45:92:45 | CS0103: The name 'y' does not exist in the current context |
32+
| file://:0:0:0:0 | CS5001: Program does not contain a static 'Main' method suitable for an entry point |
233
extractorMessages
334
| errors.cs:6:1:6:22 | Namespace not found |
435
| errors.cs:22:31:22:32 | Failed to determine type |

0 commit comments

Comments
 (0)