Skip to content

Commit 6e3bc38

Browse files
committed
C#: Fix minor issues in QL doc.
1 parent a464e5b commit 6e3bc38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csharp/ql/src/utils/model-generator/internal/CaptureTypeBasedSummaryModels.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,14 @@ class TypeBasedFlowTargetApi extends Specific::TargetApiSpecific {
197197
* a (synthetic) field and return the result.
198198
* (4) `Apply<S1,S2>` is assumed to apply the provided function to provided value
199199
* and return the result.
200+
* ```csharp
200201
* public class MyGeneric<T> {
201202
* public void Set(T x) { ... }
202203
* public T Get() { ... }
203204
* public S Apply<S>(Func<T, S> f) { ... }
204205
* public S2 Apply<S1, S2>(S1 x, Func<S1, S2> f) { ... }
205206
* }
207+
* ```
206208
*/
207209
string getSummaries() {
208210
exists(TypeParameter tp, string input, string output |

0 commit comments

Comments
 (0)