Improve nullable analysis of local functions (#40422)
* Improve nullable analysis of local functions This design tries to meld better analysis of nullable reference types in local functions with performance. To keep the common case one pass, local functions are analyzed using the starting state that is an intersection of all the states before its usages (calls, delegate conversions, etc), but the results of variables made nullable or non-nullable inside the local function do not propagate to the callers. * Respond to PR comments
Showing
想要评论请 注册 或 登录