NullabilityInfo Class

Definition

Represents nullability information.

public sealed class NullabilityInfo
Inheritance
NullabilityInfo

Properties

ElementType

Gets the nullability information for the element type of the array.

GenericTypeArguments

Gets the nullability information for each type parameter.

ReadState

Gets the nullability read state of the member.

Type

Gets the type of the member or generic parameter to which this instance belongs.

WriteState

Gets the nullability write state of the member.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versions
.NET 6, 7, 8, 9