Skip to content

The [RequireUsing] attribute now works with ref structs

Compare
Choose a tag to compare
@ShaharPrishMSFT ShaharPrishMSFT released this 04 Oct 07:58
· 7 commits to main since this release
28746f7

When using ref structs, the [RequireUsing] attribute will now work properly and not emit a warning that it's assigned to an incorrect method/type

Before, when having a ref struct with Dispose (which is usable in a using statement) would have complained that it does not support IDisposable.