C#: Add some testcases, where we don't get a summary due to the use of simple types.

This commit is contained in:
Michael Nebel
2022-04-06 10:34:07 +02:00
parent f9e5c6b77d
commit f6fd401df1

View File

@@ -60,4 +60,29 @@ public class EquatableUnBound<T> : IEquatable<T>
{
return tainted;
}
}
// No methods in this class will have generated flow summaries as
// simple types are used.
public class SimpleTypes
{
public bool M1(bool b)
{
return b;
}
public Boolean M2(Boolean b)
{
return b;
}
public int M3(int i)
{
return i;
}
public Int32 M4(Int32 i)
{
return i;
}
}