提交 ce9c278a 编写于 作者: J Jason Malinowski

Ensure that constructing a generic type doesn't loose nullability

上级 44ddbb81
......@@ -52,7 +52,7 @@ public override TResult Accept<TResult>(SymbolVisitor<TResult> visitor)
public INamedTypeSymbol Construct(params ITypeSymbol[] typeArguments)
{
return WrappedSymbol.Construct(typeArguments);
return WrappedSymbol.Construct(typeArguments).WithNullability(Nullability);
}
public INamedTypeSymbol ConstructUnboundGenericType()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册