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