Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions TUnit.Analyzers/AbstractTestClassWithDataSourcesAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ private void AnalyzeSymbol(SymbolAnalysisContext context)

private static bool HasConcreteInheritingClassesWithInheritsTests(SymbolAnalysisContext context, INamedTypeSymbol abstractClass)
{
// Get all named types in the compilation
var allTypes = GetAllNamedTypes(context.Compilation.Assembly.GlobalNamespace);
// Get all named types in the compilation (including referenced assemblies)
var allTypes = GetAllNamedTypes(context.Compilation.GlobalNamespace);

// Check if any concrete class inherits from the abstract class and has [InheritsTests]
foreach (var type in allTypes)
Expand Down
Loading