Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed special cased event source #866

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

ujjwalchadha
Copy link
Contributor

This PR fixes the correct use of special case EventSource i.e. EventSource

@ujjwalchadha ujjwalchadha requested a review from manodasanW June 10, 2021 23:24
@@ -2529,11 +2529,10 @@ db_path.stem().string());
{
if (for_typedef(w, get_type_semantics(evt.EventType()), [&](TypeDef const& eventType)
{
if (eventType.TypeNamespace() == "System" && eventType.TypeName() == "EventHandler`1")
if ((eventType.TypeNamespace() == "Windows.Foundation" || eventType.TypeNamespace() == "System") && eventType.TypeName() == "EventHandler`1")
Copy link
Member

Choose a reason for hiding this comment

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

Look at whether System.EventHandler1 actually ever comes here as it is a custom type mapping for Windows.Foundation.EventHandler1 and I wouldn't expect to see it in metadata I think.

@ujjwalchadha ujjwalchadha merged commit dbcf290 into master Jun 11, 2021
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.

2 participants