13 references to DerivesFrom
Test.Utilities (13)
IMethodSymbolExtensions.cs (5)
649
(method.Parameters[1].Type.
DerivesFrom
(eventArgsType, baseTypesOnly: true) || method.Parameters[1].Type.Name.EndsWith("EventArgs", StringComparison.Ordinal));
776
return returnType.
DerivesFrom
(inotifyCompletionType) ||
777
returnType.
DerivesFrom
(icriticalNotifyCompletionType);
798
return containingType.
DerivesFrom
(inotifyCompletionType) ||
799
containingType.
DerivesFrom
(icriticalNotifyCompletionType);
INamedTypeSymbolExtensions.cs (2)
280
(xunitFactAttribute is not null && attributeClass.
DerivesFrom
(xunitFactAttribute))
281
|| (benchmarkAttribute is not null && attributeClass.
DerivesFrom
(benchmarkAttribute));
IPropertySymbolExtensions.cs (2)
33
return containingType.
DerivesFrom
(inotifyCompletionType)
34
|| containingType.
DerivesFrom
(icriticalNotifyCompletionType);
ISymbolExtensions.cs (1)
229
return member != null && member.MetadataName == name && member.ContainingType.
DerivesFrom
(type);
ITypeSymbolExtensions.cs (3)
61
return
DerivesFrom
(type, possibleBase, baseTypesOnly: true);
64
return
DerivesFrom
(type, possibleBase);
119
if (constraintType.
DerivesFrom
(candidateBaseType, baseTypesOnly, checkTypeParameterConstraints))