Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Do not report boxing for optimized value types (#8) #40

Merged
merged 6 commits into from
Mar 26, 2018

Conversation

edespong
Copy link
Contributor

Roslyn does not pick up these conversions, so we have to explicitly handle them.

Added unit test and changed old tests to account for the change.

It seems more appropriate to use the Conversion to check for boxing. Use this for all checks as it is not only applicable when using a value type as argument.

Added unit test for the yield return scenario.
Roslyn does not pick up these conversions, so we have to explicitly handle them.

Added unit test and changed old tests to account for the change.
@mjsabby
Copy link
Contributor

mjsabby commented Mar 19, 2018

Fixes some of #8

@mjsabby mjsabby merged commit 77d965d into microsoft:master Mar 26, 2018
@edespong edespong deleted the Issue8_ConcatOfOptimizedValueTypes branch March 26, 2018 05:14
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.

2 participants