aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/csharp/li_std_map_runme.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/csharp/li_std_map_runme.cs')
-rw-r--r--Examples/test-suite/csharp/li_std_map_runme.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/test-suite/csharp/li_std_map_runme.cs b/Examples/test-suite/csharp/li_std_map_runme.cs
index 51510c9fc..e2b0920fe 100644
--- a/Examples/test-suite/csharp/li_std_map_runme.cs
+++ b/Examples/test-suite/csharp/li_std_map_runme.cs
@@ -158,6 +158,8 @@ public class li_std_map_runme {
simap.Clear();
if (simap.Count != 0)
throw new Exception("Clear test failed");
+ if (!simap.IsEmpty)
+ throw new Exception("Empty test failed");
// Test wrapped methods
for (int i = 1; i <= 5; i++)