We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d8a6e5 + 41382dd commit 04f2995Copy full SHA for 04f2995
csharp/ql/test/library-tests/regressions/Program.cs
@@ -81,3 +81,16 @@ int Test()
81
return 0;
82
}
83
84
+
85
+class LiteralConversions
86
+{
87
+ struct Point
88
+ {
89
+ public int? x, y;
90
+ }
91
92
+ void F()
93
94
+ new Point { x=1, y=2 };
95
96
+}
csharp/ql/test/library-tests/regressions/TypeMentions.expected
@@ -39,3 +39,9 @@
39
| Program.cs:69:5:69:8 | Boolean |
40
| Program.cs:69:16:69:18 | Int32 |
41
| Program.cs:75:5:75:7 | Int32 |
42
+| Program.cs:89:16:89:18 | Int32 |
43
44
+| Program.cs:89:16:89:19 | Nullable<Int32> |
45
46
+| Program.cs:92:5:92:8 | Void |
47
+| Program.cs:94:13:94:17 | Point |
0 commit comments