Skip to content

Swap out a Debug.Fail for a more graceful diagnostic failure.#65861

Merged
jkoritzinsky merged 2 commits intodotnet:mainfrom
jkoritzinsky:graceful-fail
Feb 24, 2022
Merged

Swap out a Debug.Fail for a more graceful diagnostic failure.#65861
jkoritzinsky merged 2 commits intodotnet:mainfrom
jkoritzinsky:graceful-fail

Conversation

@jkoritzinsky
Copy link
Copy Markdown
Member

This case will never trigger in a release application, but can trigger when switching branches where each branch has a different definition of GeneratedDllImport.

This fix was requested by @stephentoub over email.

This case will never trigger in a release application, but can trigger when switching branches where each branch has a different definition of GeneratedDllImport.
@jkoritzinsky jkoritzinsky added the source-generator Indicates an issue with a source generator feature label Feb 24, 2022
@ghost ghost assigned jkoritzinsky Feb 24, 2022
@ghost
Copy link
Copy Markdown

ghost commented Feb 24, 2022

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

Issue Details

This case will never trigger in a release application, but can trigger when switching branches where each branch has a different definition of GeneratedDllImport.

This fix was requested by @stephentoub over email.

Author: jkoritzinsky
Assignees: -
Labels:

area-System.Runtime.InteropServices

Milestone: -

@stephentoub
Copy link
Copy Markdown
Member

This fix was requested by @stephentoub over email.

Thanks. I'm finicky and like it when my IDE doesn't hang :)

@jkoritzinsky
Copy link
Copy Markdown
Member Author

CrossOS DAC failure is a known issue.

@jkoritzinsky jkoritzinsky merged commit 959a13f into dotnet:main Feb 24, 2022
@jkoritzinsky jkoritzinsky deleted the graceful-fail branch February 24, 2022 22:20
@ghost ghost locked as resolved and limited conversation to collaborators Mar 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants