Implement full spec changes for Index/Range (#33679)
Reflects the changes described in https://github.com/dotnet/csharplang/pull/2214. Range now looks optimistically for some special members with optional parameters, but will fall back to the Range constructor if they aren't present. This change also removes all of the specialized codegen that was going on with arrays and strings in favor of expected helpers or real members.
Showing
想要评论请 注册 或 登录