Skip to content

Commit

Permalink
Remove unused nullability in typeof (#25664)
Browse files Browse the repository at this point in the history
Causes compilation error starting with dotnet SDK
6.0.100-rc.1.21417.19
  • Loading branch information
roji committed Aug 24, 2021
1 parent 7b38bb6 commit 3f50c0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public virtual SelectExpression Expand(
}
}

return _visitedFromSqlExpressions[fromSql] = fromSql.Update(Expression.Constant(constantValues, typeof(object?[])));
return _visitedFromSqlExpressions[fromSql] = fromSql.Update(Expression.Constant(constantValues, typeof(object[])));

default:
Check.DebugAssert(false, "FromSql.Arguments must be Constant/ParameterExpression");
Expand Down

0 comments on commit 3f50c0d

Please sign in to comment.