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

docs(dotnet): consistent access modifiers #16331

Merged

Conversation

timdeschryver
Copy link
Contributor

Use public async instead of async public to use the same access modifiers in all examples.
My IDE (Rider) was also giving a warning on using async public.

While I was in the files making the changes, I also caught a few typos.

@@ -299,7 +299,7 @@ dotnet test
You can also choose specifically which tests to run, using the [filtering capabilities](https://docs.microsoft.com/en-us/dotnet/core/testing/selective-unit-tests?pivots=mstest):

```bash
dotnet test --filter "Name~ShouldAdd"
dotnet test --filter "Name~Slogan"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running this command against the examples result that no tests are executed.
I thought it would be better to filter a test from the examples while still having one test executed, if this is unwanted I can revert this change.

@mxschmitt
Copy link
Member

Thank you Tim, appreciate your contribution to the project!

@mxschmitt mxschmitt merged commit cf2c964 into microsoft:main Aug 7, 2022
mxschmitt pushed a commit to mxschmitt/playwright that referenced this pull request Aug 9, 2022
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.

None yet

2 participants