Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Refactor WhenAnyValue usage to generic overloads - #4097

#4097
Merged
ChrisPulman merged 1 commit into
mainreactiveui/ReactiveUI:mainfrom
CP_FinaliseWhenAnyOptimisationsreactiveui/ReactiveUI:CP_FinaliseWhenAnyOptimisationsCopy head branch name to clipboard
Aug 22, 2025
Merged

Refactor WhenAnyValue usage to generic overloads#4097
ChrisPulman merged 1 commit into
mainreactiveui/ReactiveUI:mainfrom
CP_FinaliseWhenAnyOptimisationsreactiveui/ReactiveUI:CP_FinaliseWhenAnyOptimisationsCopy head branch name to clipboard

Conversation

@ChrisPulman

Copy link
Copy Markdown
Member

What kind of change does this PR introduce?

Update

What is the new behavior?

Replaces lambda-based WhenAnyValue calls with explicit generic overloads across multiple platforms and components for improved AOT compatibility and clarity. Adds SuppressMessage attributes to registration classes to address trimming and AOT warnings where dynamic code or reflection is not always used. Also updates project file to suppress IL2026 and IL3050 warnings for AOT tests.

What might this PR break?

New feature, part of a larger breaking change

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

Replaces lambda-based WhenAnyValue calls with explicit generic overloads across multiple platforms and components for improved AOT compatibility and clarity. Adds SuppressMessage attributes to registration classes to address trimming and AOT warnings where dynamic code or reflection is not always used. Also updates project file to suppress IL2026 and IL3050 warnings for AOT tests.
@ChrisPulman
ChrisPulman merged commit 219b20f into main Aug 22, 2025
1 check passed
@ChrisPulman
ChrisPulman deleted the CP_FinaliseWhenAnyOptimisations branch August 22, 2025 23:32
@github-actions

github-actions Bot commented Sep 6, 2025

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.