Grpc.Shared.CompatibilityHelpers static class CompatibilityHelpers Documentation Code public static void Assert(bool condition, string message = null) public static Task<T> AwaitWithYieldAsync<T>(Task<T> callTask) public static int IndexOf(string s, char value, StringComparison comparisonType) public static bool IsCompletedSuccessfully(this Task task) public static bool IsCompletedSuccessfully(this ValueTask task) public static bool IsCompletedSuccessfully<T>(this ValueTask<T> task) public static CancellationTokenRegistration RegisterWithCancellationTokenCallback(CancellationToken cancellationToken, Action<object, CancellationToken> callback, object state) public static Task<T> WaitAsync<T>(this Task<T> task, CancellationToken cancellationToken)