SymbolDisplay should respect SymbolDisplayCompilerInternalOptions.IncludeNonNullableTypeModifier
for class
constraint
#29838
Labels
Milestone
When
SymbolDisplayCompilerInternalOptions.IncludeNonNullableTypeModifier
is set and "TypeParameterSymbol.ReferenceTypeConstraintIsNullable == true", theclass
constraint should have an ExclamationToken. I.e. the output should look likeclass!
.Relevant code is in
private void AddTypeParameterConstraints(ImmutableArray<ITypeSymbol> typeArguments)
.The text was updated successfully, but these errors were encountered: