Skip to content

Add mapping from COR_E_INVALIDOPERATION#1920

Merged
manodasanW merged 1 commit into
masterfrom
manodasanw/invalidoperation
Feb 8, 2025
Merged

Add mapping from COR_E_INVALIDOPERATION#1920
manodasanW merged 1 commit into
masterfrom
manodasanw/invalidoperation

Conversation

@manodasanW
Copy link
Copy Markdown
Member

Previously when we used Marshal.GetExceptionFromHr, there was a mapping from COR_E_INVALIDOPERATION to InvalidOperationException. That was missed when we did our own implementation of it and it seems certain APIs used that error code. So, putting that mapping back.

… removed when we moved away from Marshal.GetExceptionForHr
@manodasanW manodasanW merged commit e43df2e into master Feb 8, 2025
@manodasanW manodasanW deleted the manodasanw/invalidoperation branch February 8, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant