Skip to content

Report diagnostic when AreNotSame is passed value type - #4523

Merged
Evangelink merged 1 commit into
microsoft:mainfrom
Youssef1313:arenotsame
Jan 6, 2025
Merged

Report diagnostic when AreNotSame is passed value type#4523
Evangelink merged 1 commit into
microsoft:mainfrom
Youssef1313:arenotsame

Conversation

@Youssef1313

@Youssef1313 Youssef1313 commented Jan 6, 2025

Copy link
Copy Markdown
Member

Fixes #4478

@microsoft-github-policy-service microsoft-github-policy-service Bot added the area/analyzers MSTest.Analyzers Roslyn analyzers and code fixes. label Jan 6, 2025

@Evangelink Evangelink left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat, thanks @Youssef1313

@Evangelink
Evangelink merged commit d7d0ee1 into microsoft:main Jan 6, 2025
@Youssef1313
Youssef1313 deleted the arenotsame branch January 6, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/analyzers MSTest.Analyzers Roslyn analyzers and code fixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warning for Assert.AreNotSame calls with value types

2 participants