6 references to OfType
Microsoft.CodeAnalysis.Features (6)
AddImport\SymbolReferenceFinder.cs (6)
196
var typeSymbols =
OfType
<ITypeSymbol>(symbols);
263
var namespaceSymbols =
OfType
<INamespaceSymbol>(symbols);
264
var containingNamespaceSymbols =
OfType
<INamespaceSymbol>(symbols).SelectAsArray(s => s.WithSymbol(s.Symbol.ContainingNamespace));
357
var methodSymbols =
OfType
<IMethodSymbol>(symbols);
413
var methodSymbols =
OfType
<IMethodSymbol>(symbols).SelectAsArray(s => s.WithDesiredName(null));
561
var methodSymbols =
OfType
<IMethodSymbol>(symbols).SelectAsArray(s => s.WithDesiredName(null));