6 references to IfNullOrMemberNull
Shared.Tests (6)
Throw\ThrowTest.cs (6)
161var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfNullOrMemberNull(somethingThatIsNull, somethingNestedThatIsNull)); 164() => Throw.IfNullOrMemberNull(somethingThatIsNull, somethingNestedThatIsNull, nameof(somethingThatIsNull), nameof(somethingNestedThatIsNull))); 177var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfNullOrMemberNull(red, somethingNestedThatIsNull)); 180() => Throw.IfNullOrMemberNull(red, somethingNestedThatIsNull, nameof(red), nameof(somethingNestedThatIsNull))); 216var exception = Record.Exception(() => Throw.IfNullOrMemberNull(red, blue)); 219var resultOfThrows = Throw.IfNullOrMemberNull(red, blue);