summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/proxy/MyDerivedClassAMDI.cs
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2021-01-14 12:12:47 -0500
committerGitHub <noreply@github.com>2021-01-14 12:12:47 -0500
commit05edde5bcae0e5ee6b31bdb9923a8e5bb80fede1 (patch)
treefae64c8758ed0226c7bc005ce9372c6a511b643c /csharp/test/Ice/proxy/MyDerivedClassAMDI.cs
parentMoved alias test from Slice to Ice test directory. (diff)
downloadice-before_streamline.tar.bz2
ice-before_streamline.tar.xz
ice-before_streamline.zip
Switch to Async skeletons in Ice core (#1240)before_streamline
Diffstat (limited to 'csharp/test/Ice/proxy/MyDerivedClassAMDI.cs')
-rw-r--r--csharp/test/Ice/proxy/MyDerivedClassAMDI.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/csharp/test/Ice/proxy/MyDerivedClassAMDI.cs b/csharp/test/Ice/proxy/MyDerivedClassAMDI.cs
index fd130e6b6f1..772ed8d4ada 100644
--- a/csharp/test/Ice/proxy/MyDerivedClassAMDI.cs
+++ b/csharp/test/Ice/proxy/MyDerivedClassAMDI.cs
@@ -29,10 +29,10 @@ namespace ZeroC.Ice.Test.Proxy
CancellationToken cancel) =>
new(_ctx!);
- public bool IceIsA(string typeId, Current current, CancellationToken cancel)
+ public ValueTask<bool> IceIsAAsync(string typeId, Current current, CancellationToken cancel)
{
_ctx = current.Context;
- return typeof(IMyDerivedClass).GetAllIceTypeIds().Contains(typeId);
+ return new(typeof(IMyDerivedClass).GetAllIceTypeIds().Contains(typeId));
}
public async ValueTask<IRelativeTestPrx> OpRelativeAsync(