Skip to content

Commit 372a610

Browse files
committed
C#: Use typeparameter index to generate synthetic field names in summaries.
1 parent f6e9013 commit 372a610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TheoremTargetApi extends Specific::TargetApiSpecific {
3333
exists(string access |
3434
if isGenericCollectionType(this.getDeclaringType(), t)
3535
then access = ".Element"
36-
else access = ".SyntheticField[Arg" + t.getName() + "]"
36+
else access = ".SyntheticField[ArgType" + t.getIndex() + "]"
3737
|
3838
result = Specific::qualifierString() + access
3939
)

0 commit comments

Comments
 (0)