Partilhar via


ITypeParameterSymbol.ReferenceTypeConstraintNullableAnnotation Property

Definition

If HasReferenceTypeConstraint is true, returns the top-level nullability of the class constraint that was specified for the type parameter. If there was no class constraint, this returns None.

public Microsoft.CodeAnalysis.NullableAnnotation ReferenceTypeConstraintNullableAnnotation { get; }
member this.ReferenceTypeConstraintNullableAnnotation : Microsoft.CodeAnalysis.NullableAnnotation
Public ReadOnly Property ReferenceTypeConstraintNullableAnnotation As NullableAnnotation

Property Value

Applies to