Table of Contents

Method ForNullPointer

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

ForNullPointer(Type)

Creates a new instance of the NotNullException class to be throw when a pointer is null.

public static Exception ForNullPointer(Type type)

Parameters

type Type

The inner type of the value

Returns

Exception