Table of Contents

Method ForNullStruct

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

ForNullStruct(Type)

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

public static Exception ForNullStruct(Type type)

Parameters

type Type

The inner type of the value

Returns

Exception