Back to Roslyn

This document lists known breaking changes in Roslyn after .NET 6 all the way to .NET 7.

docs/compilers/Visual Basic/Compiler Breaking Changes - DotNet 7.md

11.0.100431 B
Original Source

This document lists known breaking changes in Roslyn after .NET 6 all the way to .NET 7.

RequiredMembersAttribute cannot be manually applied

Introduced in VS 17.6

As part of implementing VB support for consuming required APIs, it is now an error to manually apply RequiredMembersAttribute in source. VB will now correctly interpret these attributes in metadata and allow instantiating types with required members.