6 references to OfType
Microsoft.CodeAnalysis.Features (6)
AddImport\SymbolReferenceFinder.cs (6)
206
var typeSymbols =
OfType
<ITypeSymbol>(symbols);
273
var namespaceSymbols =
OfType
<INamespaceSymbol>(symbols);
274
var containingNamespaceSymbols =
OfType
<INamespaceSymbol>(symbols).SelectAsArray(s => s.WithSymbol(s.Symbol.ContainingNamespace));
367
var methodSymbols =
OfType
<IMethodSymbol>(symbols);
423
var methodSymbols =
OfType
<IMethodSymbol>(symbols).SelectAsArray(s => s.WithDesiredName(null));
571
var methodSymbols =
OfType
<IMethodSymbol>(symbols).SelectAsArray(s => s.WithDesiredName(null));