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

Compare the generic types of source and destination to ensure they are identical before raising CA2009 #7382

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andrewimcclement
Copy link

A hacky fix for #7374 , with an associated test case which is hopefully reasonable.
I am not very familiar with Roslyn, but something along these lines would likely resolve the issue. Creating this PR in hopes that someone else can tell me what changes are required.

Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.49%. Comparing base (3211f48) to head (45c3967).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7382      +/-   ##
==========================================
- Coverage   96.49%   96.49%   -0.01%     
==========================================
  Files        1443     1443              
  Lines      345885   345895      +10     
  Branches    11374    11374              
==========================================
+ Hits       333765   333766       +1     
- Misses       9241     9246       +5     
- Partials     2879     2883       +4     

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant