Skip to content

Commit 22f8d97

Browse files
Jami CogswellJami Cogswell
authored andcommitted
C#: add test case
1 parent 446ac75 commit 22f8d97

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

csharp/ql/test/utils/model-generator/dataflow/NoSummaries.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,15 @@ public Dictionary<int, int> ReturnSimpleTypeDictionary(Dictionary<int, int> a)
131131
{
132132
return a;
133133
}
134-
}
134+
}
135+
136+
// A neutral model should not be created for a parameterless constructor.
137+
public class ParameterlessConstructor
138+
{
139+
public bool IsInitialized;
140+
141+
public ParameterlessConstructor()
142+
{
143+
IsInitialized = true;
144+
}
145+
}

0 commit comments

Comments
 (0)