Add DelegateDataFlow tests for DynamicallyAccessedMembers analysis on delegate fields/properties#126918
Draft
Add DelegateDataFlow tests for DynamicallyAccessedMembers analysis on delegate fields/properties#126918
Conversation
…ypes Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/f8d36913-1346-4f8d-8514-eb398ffbc0e1 Co-authored-by: jtschuster <36744439+jtschuster@users.noreply.github.com>
… delegate fields/properties Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/f8d36913-1346-4f8d-8514-eb398ffbc0e1 Co-authored-by: jtschuster <36744439+jtschuster@users.noreply.github.com>
…elegate test class Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/346454a4-d1ec-4c38-b03e-d5d6f8fa0155 Co-authored-by: jtschuster <36744439+jtschuster@users.noreply.github.com>
…ce before parens) Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/346454a4-d1ec-4c38-b03e-d5d6f8fa0155 Co-authored-by: jtschuster <36744439+jtschuster@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
jtschuster
April 14, 2026 23:12
View session
Contributor
|
Tagging subscribers to this area: @agocke, @dotnet/illink |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DelegateDataFlow.cstest case file with tests for DAM analysis on delegate fields, properties, and invocationDataFlowTests.csfor the Roslyn analyzerExpectedWarningattributes to match actual ILLink warning messages (use "Invoke" not field/property names)GenericDelegateWithAnnotatedTypeParameterclass (DAM on generic type params doesn't propagate to Invoke)