icsharpcode / ILSpy

.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
20.91k stars 3.31k forks source link

Analysis window add read-only ldsflda to "Assigned By" list #2372

Open sgkoishi opened 3 years ago

sgkoishi commented 3 years ago

image image

Details

dgrunwald commented 3 years ago

In principle the combination ldsflda + call can end up mutating the field, if the called method mutates this. We'd need to special case System.Boolean::ToString as "known not to mutate this".