Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Tests
AttemptTests
DivByZero
Tests.AttemptTests.DivByZero C# (CSharp) Method
AttemptTests Class Documentation
Mostra file
Open project: Core-Techs/Common
DivByZero()
private
method
private
DivByZero
( ) :
int
return
int
private int DivByZero() { var zero = 0; return 1 / zero; }
AttemptTests
CanCatchWhenExceptionIs
CanCatchWhenExceptionIsExactly
CanCatchWhenPredicateSatisfied
CanDoAsync
CanGetAsync
CanGetAsync2
CanRepeatedlyDoAsync
CanRepeatedlyGetAsync
CanThrowWhenExceptionIs
CanThrowWhenExceptionIsExactly
CanThrowWhenPredicateSatisfied
DivByZero
NoCatchWhenExceptionIsNot
NoCatchWhenExceptionIsNotExactly
NoCatchWhenPredicateNotSatisfied
NoThrowWhenExceptionIsNot
NoThrowWhenExceptionIsNotExactly
NoThrowWhenPredicateNotSatisfied
RepeatedAttemptCatchWhereThrowsWhenPredNotSatisfied
RepeatedAttemptCatchWhere_CatchesWhenPredSatisfied
RepeatedAttemptThrowWhereCatchesWhenPredNotSatisfied
RepeatedAttemptThrowWhereThrowsWhenPredSatisfied