Base:
property
HasReferenceTypeConstraint
Microsoft.CodeAnalysis.CSharp.Symbols.TypeParameterSymbol.HasReferenceTypeConstraint
2 references to HasReferenceTypeConstraint
Microsoft.CodeAnalysis.CSharp (2)
Symbols\SubstitutedTypeParameterSymbol.cs (2)
124
if (bestObjectConstraint.NullableAnnotation.IsOblivious() && !
HasReferenceTypeConstraint
)
159
else if (!HasNotNullConstraint && !HasValueTypeConstraint && !
HasReferenceTypeConstraint
)