24 references to IsCancellation
Microsoft.Extensions.AI.Evaluation.Console (24)
Utilities\LoggerExtensions.cs (24)
32catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 36catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 52catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 56catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 72catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 76catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 95catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 99catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 116catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 120catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 135catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 139catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 155catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 159catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 175catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 179catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 195catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 199catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 217catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 221catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 240catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 244catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions) 263catch (Exception ex) when (swallowUnhandledExceptions && ex.IsCancellation()) 267catch (Exception ex) when (!ex.IsCancellation() && logger.LogException(ex) && swallowUnhandledExceptions)