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

[Binding SG] Use recommended InterceptsLocationAttribute API #27144

Open
jkurdek opened this issue Jan 15, 2025 · 0 comments · May be fixed by #27145
Open

[Binding SG] Use recommended InterceptsLocationAttribute API #27144

jkurdek opened this issue Jan 15, 2025 · 0 comments · May be fixed by #27145
Assignees
Labels
area-xaml XAML, CSS, Triggers, Behaviors

Comments

@jkurdek
Copy link
Member

jkurdek commented Jan 15, 2025

Binding Source generator uses InterceptsLocationAttribute(string path, int column, int line) attribute for interceptors. Recently the Roslyn team has marked this attribute as deprecated and started issuing warning. We should replace the attribute with recommended InterceptsLocationAttribute(int version, string data) overload. This will apply to both .NET 9+.

Errors starting being visible in #27103

@jkurdek jkurdek self-assigned this Jan 15, 2025
@jkurdek jkurdek added the area-xaml XAML, CSS, Triggers, Behaviors label Jan 15, 2025
@jkurdek jkurdek added this to the .NET 10 Planning milestone Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-xaml XAML, CSS, Triggers, Behaviors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant