Skip to content

Commit 5ae025f

Browse files
committed
C#: Add change note
1 parent 76e6f81 commit 5ae025f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
5+
* The models-as-data format for types and methods with type parameters has been changed to include the names of the type parameters. For example, instead of writing
6+
```yml
7+
extensions:
8+
- addsTo:
9+
pack: codeql/csharp-all
10+
extensible: summaryModel
11+
data:
12+
- ["System.Collections.Generic", "IList<>", True, "Insert", "(System.Int32,T)", "", "Argument[1]", "Argument[this].Element", "value", "manual"]
13+
- ["System.Linq", "Enumerable", False, "Select<,>", "(System.Collections.Generic.IEnumerable<TSource>,System.Func<TSource,System.Int32,TResult>)", "", "Argument[0].Element", "Argument[1].Parameter[0]", "value", "manual"]
14+
```
15+
one now writes
16+
```yml
17+
extensions:
18+
- addsTo:
19+
pack: codeql/csharp-all
20+
extensible: summaryModel
21+
data:
22+
- ["System.Collections.Generic", "IList<T>", True, "Insert", "(System.Int32,T)", "", "Argument[1]", "Argument[this].Element", "value", "manual"]
23+
- ["System.Linq", "Enumerable", False, "Select<TSource,TResult>", "(System.Collections.Generic.IEnumerable<TSource>,System.Func<TSource,System.Int32,TResult>)", "", "Argument[0].Element", "Argument[1].Parameter[0]", "value", "manual"]
24+
```

0 commit comments

Comments
 (0)