roslyn icon indicating copy to clipboard operation
roslyn copied to clipboard

Use correct get / set inside ref safety analysis

Open jaredpar opened this issue 1 year ago • 7 comments

This fixes a few cases where our code looked at the wrong accessor when doing ref safety analysis.

closes https://github.com/dotnet/roslyn/issues/35606 closes https://github.com/dotnet/roslyn/issues/73550 related https://github.com/dotnet/roslyn/issues/73872 related https://github.com/dotnet/csharplang/pull/8253

jaredpar avatar Jun 04 '24 18:06 jaredpar

@dotnet/roslyn-compiler PTAL

jaredpar avatar Jun 13 '24 04:06 jaredpar

@dotnet/roslyn-compiler PTAL

jaredpar avatar Jun 14 '24 15:06 jaredpar

Thanks for the feedback. Updated.

jaredpar avatar Jun 18 '24 00:06 jaredpar

Done with review pass (commit 9)

AlekseyTs avatar Jun 18 '24 13:06 AlekseyTs

Dropping to draft while I work out a few items.

jaredpar avatar Jun 27 '24 21:06 jaredpar

@dotnet/roslyn-compiler PTAL. I dismissed previous sign offs because I made substantial changes to the PR.

jaredpar avatar Jun 28 '24 04:06 jaredpar

FYI: posted a spec update for object initializers around ref safety

https://github.com/dotnet/csharplang/pull/8253

jaredpar avatar Jun 28 '24 15:06 jaredpar

@cston, @jjonescz, @RikkiGibson PTAL

jaredpar avatar Jul 08 '24 16:07 jaredpar

/azp run

jaredpar avatar Jul 11 '24 14:07 jaredpar

Azure Pipelines successfully started running 2 pipeline(s).

azure-pipelines[bot] avatar Jul 11 '24 14:07 azure-pipelines[bot]