Skip to content

Conversation

@kimpenhaus
Copy link
Collaborator

to avoid linter and analyzer errors on pull requests

@kimpenhaus
Copy link
Collaborator Author

hey Christoph @buehler - this fixes linter and analyser errors suddenly showing up (maybe new botnet version on GitHub side running those).

on the examples I've set the [RequiresPreviewFeatures] attribute while using the #pragma warning disable CA2252 // Opt in to preview features before using them in the test classes.

this is a precondition for other pull requests like #987

@kimpenhaus kimpenhaus changed the title chore: suppress warnings and add preview feature annotations in tests and examples chore: suppress linter warnings in unit tests and add preview feature annotations to examples Nov 19, 2025
@kimpenhaus kimpenhaus merged commit b29250d into dotnet:main Nov 20, 2025
3 checks passed
@kimpenhaus kimpenhaus deleted the preview-feature-issues branch November 20, 2025 20:45
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