You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Microsoft.CodeAnalysis.PublicApiAnalyzers` tracks the library's public surface. A build fails when public members change without a matching baseline update.
6
+
7
+
For an intentional API change:
8
+
9
+
1. Add new declarations to `EnumerableAsyncProcessor/PublicAPI.Unshipped.txt`.
10
+
2. Prefix removed declarations with `*REMOVED*` in `PublicAPI.Unshipped.txt`.
11
+
3. Include the baseline changes in the same pull request as the code change so reviewers can inspect the public API diff.
12
+
4. Move approved declarations from `PublicAPI.Unshipped.txt` to `PublicAPI.Shipped.txt` when preparing a release. Keep `#nullable enable` as the first line in both files.
13
+
14
+
Run `dotnet build` to verify the baseline on every target framework.
0 commit comments