Skip to content

Commit

Permalink
Revert "Update assembly check on EventHandlerTagHelperDescriptorProvi…
Browse files Browse the repository at this point in the history
…der (#31458)" (#31530)

This reverts commit 7bc87ba.
  • Loading branch information
captainsafia committed Apr 5, 2021
1 parent c4d06ec commit 2e78ac0
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ public void Execute(TagHelperDescriptorProviderContext context)
return;
}

var targetAssembly = context.Items.GetTargetAssembly();
if (targetAssembly is not null && !SymbolEqualityComparer.Default.Equals(targetAssembly, eventHandlerAttribute.ContainingAssembly))
{
return;
}

var eventHandlerData = GetEventHandlerData(context, compilation, eventHandlerAttribute);

foreach (var tagHelper in CreateEventHandlerTagHelpers(eventHandlerData))
Expand Down

0 comments on commit 2e78ac0

Please sign in to comment.