Skip to content

C#: Guard against AssociatedSymbol not being an IEventSymbol#7772

Merged
hvitved merged 4 commits intogithub:mainfrom
hvitved:csharp/event-accessor-event-null
Jan 31, 2022
Merged

C#: Guard against AssociatedSymbol not being an IEventSymbol#7772
hvitved merged 4 commits intogithub:mainfrom
hvitved:csharp/event-accessor-event-null

Conversation

@hvitved
Copy link
Contributor

@hvitved hvitved commented Jan 27, 2022

Apply same logic as for property/indexer accessors to account for cases where the associated event cannot be determined. I have not been able to reproduce such cases locally, though we have seen reports of it happening.

Apply same logic as for property/indexer accessors to account for cases where
the associated event cannot be determined. I have not been able to reproduce
such cases locally, though we have seen reports of it happening.
@github-actions github-actions bot added the C# label Jan 27, 2022
@hvitved hvitved marked this pull request as ready for review January 28, 2022 07:39
@hvitved hvitved requested a review from a team as a code owner January 28, 2022 07:39
Copy link
Contributor

@tamasvajk tamasvajk left a comment

Choose a reason for hiding this comment

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

I've added some minor questions.

tamasvajk
tamasvajk previously approved these changes Jan 28, 2022
@hvitved hvitved merged commit 5503abc into github:main Jan 31, 2022
@hvitved hvitved deleted the csharp/event-accessor-event-null branch January 31, 2022 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants