summaryrefslogtreecommitdiff
path: root/csharp/test/IceBox/admin/TestServiceI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/IceBox/admin/TestServiceI.cs')
-rw-r--r--csharp/test/IceBox/admin/TestServiceI.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/test/IceBox/admin/TestServiceI.cs b/csharp/test/IceBox/admin/TestServiceI.cs
index a58e9effa2e..fcc87a3a908 100644
--- a/csharp/test/IceBox/admin/TestServiceI.cs
+++ b/csharp/test/IceBox/admin/TestServiceI.cs
@@ -18,7 +18,7 @@ namespace ZeroC.IceBox.Test.Admin
// The TestFacetI servant also implements PropertiesAdminUpdateCallback. Set the callback on the admin facet.
IObject? propFacet = serviceManagerCommunicator.FindAdminFacet("IceBox.Service.TestService.Properties");
- if (propFacet is IPropertiesAdmin admin)
+ if (propFacet is IAsyncPropertiesAdmin admin)
{
admin.Updated += (_, updates) => facet.Updated(updates);
}