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

Use obsolete attribute to display warning #213

Merged
merged 1 commit into from
May 9, 2024

Conversation

konraddysput
Copy link
Collaborator

Why

The obsolete attribute that we started using in this version doesn't generate a compilation warning in the user project but rather in backtrace-unity. The reason why is it happening is because of the way how the obsolete attribute was designed - it's hard-coded into the C# compiler.

This pull request removes NotSupportedAttribute and uses directly ObsoleteAttribute instead

@konraddysput konraddysput requested a review from perf2711 May 9, 2024 10:57
@konraddysput konraddysput self-assigned this May 9, 2024
@konraddysput konraddysput merged commit c97ed0a into master May 9, 2024
10 checks passed
@konraddysput konraddysput deleted the bugfix/correct-obsolete branch June 26, 2024 09:40
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.

2 participants