4 references to Contains
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (4)
164
return type.GetBaseTypesAndThis().Concat(type.AllInterfaces).
Contains
(t => SymbolEquivalenceComparer.Instance.Equals(t, baseType));
172
return type.GetBaseTypesAndThis().
Contains
(t => SymbolEquivalenceComparer.Instance.Equals(t, baseType));
189
return baseTypes.
Contains
(t => SymbolEquivalenceComparer.Instance.Equals(t.OriginalDefinition, originalBaseType));
226
return type.AllInterfaces.
Contains
(t => SymbolEquivalenceComparer.Instance.Equals(t, interfaceType));