Implements EnC support for VB array-initialized fields (e.g. Dim a(10) As Integer).
Fixes various issues around fields with shared initializers (e.g. Dim a,b As New C()) and auto-properties with AsNew clause (e.g. Property P As New C()). Makes breakpoint spans (IDE) consistent with sequence points (compiler) and makes sequence points for various forms of field and property initializers also more consistent with each other. Specifically: before: after: <A>Dim [|F As Integer = 1|] <A>Dim [|F As Integer = 1|] (no change) [|<A>Property P As Integer = 1 Implements I.P|] <A>Property [|P As Integer = 1|] Implements I.P (changed to match fields) Dim [|F|], [|G|] As Integer = 1 Dim [|F|], [|G|] As Integer = 1 (no change) Dim [|F(1), G(1) As Integer|] Dim [|F(1)|], [|G(1)|] As Integer (change to match fields with shared AsNew clause) (changeset 1210991)
Showing
想要评论请 注册 或 登录