4 references to DerivesFrom
Microsoft.CodeAnalysis.Test.Utilities (4)
Diagnostics\CouldHaveMoreSpecificTypeAnalyzer.cs (4)
167if (commonSourceType != null && DerivesFrom(commonSourceType, (INamedTypeSymbol)symbolType)) 186if (!DerivesFrom(testType, type)) 208return derivedBaseType != null && (derivedBaseType.Equals(baseType) || DerivesFrom(derivedBaseType, baseType)); 220if (DerivesFrom(baseInterface, baseType))