Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add analyzer for public API and revert an unintentional breaking change from 2.3 #264

Merged
merged 3 commits into from
Aug 13, 2019

Conversation

natemcmaster
Copy link
Owner

@natemcmaster natemcmaster commented Aug 13, 2019

This uses analyzers from https://github.com/dotnet/roslyn-analyzers/tree/master/src/PublicApiAnalyzers to ensure the public API of this library remains stable. It should also help avoid adding new API that will have backwards compat issues going forward.

This also reverts an unintentional API break -- the public ctor for PhysicalConsole.

For contributors
When adding new API, I recommend using Visual Studio 2019. The code fixes will recommend adding the appropriate content to PublicApi.Unshipped.txt.

@natemcmaster natemcmaster merged commit 3d08a2b into master Aug 13, 2019
@natemcmaster natemcmaster deleted the publicapi branch August 13, 2019 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant