summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/servantLocator/ServantLocatorI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/servantLocator/ServantLocatorI.cs')
-rw-r--r--csharp/test/Ice/servantLocator/ServantLocatorI.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/csharp/test/Ice/servantLocator/ServantLocatorI.cs b/csharp/test/Ice/servantLocator/ServantLocatorI.cs
index 4cdc5b96b2b..6e0708546ff 100644
--- a/csharp/test/Ice/servantLocator/ServantLocatorI.cs
+++ b/csharp/test/Ice/servantLocator/ServantLocatorI.cs
@@ -48,6 +48,12 @@ namespace Ice
return null;
}
+ if(current.id.name.Equals("invalidReturnValue") || current.id.name.Equals("invalidReturnType"))
+ {
+ cookie = null;
+ return null;
+ }
+
test(current.id.name.Equals("locate") || current.id.name.Equals("finished"));
if(current.id.name.Equals("locate"))
{