Skip to content

Conversation

@ToddGrun
Copy link
Contributor

Consider this a conversation starter

@davidwengier
Copy link
Member

I am interested in this conversation :)

tagHelperFeature.CollectDescriptors(assembly, results);
if (compilation.GetAssemblyOrModuleSymbol(reference) is IAssemblySymbol assembly)
{
tagHelperFeature.CollectDescriptors(assembly, descriptorsBuilder);
Copy link
Member

@DustinCampbell DustinCampbell Sep 19, 2025

Choose a reason for hiding this comment

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

Note: This calls into the ITagHelperDescriptorProvider implementations, which already have caches of TagHelperProvider[] per IAssemblySymbol. The problem that you mentioned offline is around Compilation.GetTypeByMetaname which I believe the ITagHelperDescriptorProviders call before they hit their caches. It seems do-able to push that data into the IAssemblySymbol cache rather than create another.

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.

3 participants