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)); 776return returnType.DerivesFrom(inotifyCompletionType) || 777returnType.DerivesFrom(icriticalNotifyCompletionType); 798return containingType.DerivesFrom(inotifyCompletionType) || 799containingType.DerivesFrom(icriticalNotifyCompletionType);
INamedTypeSymbolExtensions.cs (2)
280(xunitFactAttribute is not null && attributeClass.DerivesFrom(xunitFactAttribute)) 281|| (benchmarkAttribute is not null && attributeClass.DerivesFrom(benchmarkAttribute));
IPropertySymbolExtensions.cs (2)
33return containingType.DerivesFrom(inotifyCompletionType) 34|| containingType.DerivesFrom(icriticalNotifyCompletionType);
ISymbolExtensions.cs (1)
229return member != null && member.MetadataName == name && member.ContainingType.DerivesFrom(type);
ITypeSymbolExtensions.cs (3)
61return DerivesFrom(type, possibleBase, baseTypesOnly: true); 64return DerivesFrom(type, possibleBase); 119if (constraintType.DerivesFrom(candidateBaseType, baseTypesOnly, checkTypeParameterConstraints))