Added inref immutability assumption removal (#7407)
* Added inref immutability assumption fix. Aware of IsReadOnly attribute, only on ILMethods. * Added isILStructTy * targeting assumption * Fixed tests * renaming * Better IsReadOnly check * Added tests * Splitting read-only assumption and read-only attribute check * Func removal * Better tests * Trying to fix test * More tests * Fixed extension member inref check * small cleanup * Added mkDereferencedByrefExpr * Minor cleanup * More tests. Changed how we deref addresses * Update comment * Being more specific on dereference addr work * Drastically simplified the solution * Added tests * Verifying current behavior
Showing
此差异已折叠。
想要评论请 注册 或 登录