5 references to DerivesFrom
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (2)
80
(xunitFactAttribute is not null && attributeClass.
DerivesFrom
(xunitFactAttribute))
81
|| (benchmarkAttribute is not null && attributeClass.
DerivesFrom
(benchmarkAttribute));
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (3)
54
return
DerivesFrom
(type, possibleBase, baseTypesOnly: true);
57
return
DerivesFrom
(type, possibleBase);
91
if (constraintType.
DerivesFrom
(candidateBaseType, baseTypesOnly, checkTypeParameterConstraints))