public static bool CanBeForceComplete(this AsyncOperation self) { if (self is null) { throw new NullReferenceException(nameof(self)); } var asyncOperationType = self.GetType(); return(ForcibleAsyncOperationTypes.Contains(asyncOperationType)); }