We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c41a2dd commit 213f297Copy full SHA for 213f297
src/Generator/Passes/GenerateSymbolsPass.cs
@@ -55,7 +55,8 @@ private void GenerateSymbols()
55
!m.IsImplicit && !m.IsDeleted && !m.IsDefaulted;
56
if (specialization.Methods.Any(m => m.IsInvalid && exportable(m)))
57
foreach (var method in specialization.Methods.Where(
58
- m => m.IsGenerated && exportable(m)))
+ m => m.IsGenerated && (m.InstantiatedFrom == null || m.InstantiatedFrom.IsGenerated) &&
59
+ exportable(m)))
60
symbolsCodeGenerator.VisitMethodDecl(method);
61
else
62
symbolsCodeGenerator.VisitClassTemplateSpecializationDecl(specialization);
0 commit comments