Identify more places to apply [SupportedOSPlatform] and [UnsupportedOSPlatform] attributes for existing platforms #44916
Labels
area-Meta
Cost:M
Work that requires one engineer up to 2 weeks
Priority:1
Work that is critical for the release, but we could probably ship without
Milestone
In .NET 5.0, we annotated APIs that were known to be supported only on Windows, as well as APIs unsupported on Browser. As we expand our platforms in .NET 6.0, we need to review our APIs to identify more places to apply the
[SupportedOSPlatform]
and[UnsupportedOSPlatform]
attributes as needed for our existing platforms, allowing the Platform Compatibility Analyzer to identify usage of these APIs on unsupported platforms.This additional pass over applying attributes could result in annotating APIs that are either specific to or unsupported on Windows, Linux, and Browser. We can partner with the WinRT team for annotating more Windows-specific APIs, and we can also apply attributes across the Microsoft.Extensions libraries if/where appropriate.
The text was updated successfully, but these errors were encountered: