MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIType­ParameterIs­Constraint­Nullable
Open sandboxFocus

ITypeParameter.IsConstraintNullable Property

IsConstraintNullable

Gets a value indicating whether the Class constraint has the nullable annotation (?). This property returns null if the TypeKindConstraint has a different value than Class or if the nullability of the generic parameter is not analyzed.

Declaration
Nullable<bool> IsConstraintNullable { get; }
Property Value
Type Description
System.Nullable<System.Boolean>