Completing the CodeFix provider (Video)

In this video, I continue working on the CodeFix provider I created in the last video. I handle two cases:

1. The case where the full name of the ImmutableArray type is not used.

2. The case where the type of the argument passed to the Add method is not the same as the type of the immutable array element. This case requires the use of the semantic model to detect if there is an implicit case happening when passing the argument.

Here is the link to the video: https://www.youtube.com/watch?v=hw4CfdmhX5s

Leave a Reply

Your email address will not be published. Required fields are marked *