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