Skip to content

Conversation

@jkoritzinsky
Copy link
Member

Warn for these casts that will always fail. Contributes to #87350 (first item on the task list).

Also fix one case of this that I missed when transitioning System.Transactions.Local (which proves that this analyzer is useful).

@ghost
Copy link

ghost commented Jun 12, 2023

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Issue Details

Warn for these casts that will always fail. Contributes to #87350 (first item on the task list).

Also fix one case of this that I missed when transitioning System.Transactions.Local (which proves that this analyzer is useful).

Author: jkoritzinsky
Assignees: -
Labels:

area-System.Runtime.InteropServices

Milestone: -

@jkoritzinsky jkoritzinsky merged commit 70af30f into dotnet:main Jun 13, 2023
@jkoritzinsky jkoritzinsky deleted the com-mix-cast-warn branch June 13, 2023 03:10
@ghost ghost locked as resolved and limited conversation to collaborators Jul 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants