Skip to content

TypeExtensions.IsRefStruct Method ​

Definition ​

Returns true if the specified Type is a ref struct; false otherwise.

c#
public static bool IsRefStruct(this Type type);

View source

Parameters ​

NameTypeDescription
typeTypeThe type.

Returns ​

Boolean

true if the specified Type is a ref struct; false otherwise.

Remarks ​

Equivalent to IsByRefLike.