Making the change to the new SDK bits introduces design-time errors, throwing System.ArgumentException with Incorrect instance type Parameter name: obj (as mentioned in the commits). This pull request fixes this regression using Expr.Coerce based on personal experience working with recent versions of the Type Provider SDK.
Making the change to the new SDK bits introduces design-time errors, throwing
System.ArgumentException
withIncorrect instance type Parameter name: obj
(as mentioned in the commits). This pull request fixes this regression usingExpr.Coerce
based on personal experience working with recent versions of the Type Provider SDK.