4 references to OfType
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
299foreach (var containingType in containingTypeResolution.OfType<INamedTypeSymbol>())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ErrorTypeSymbolKey.cs (1)
96foreach (var container in containingSymbolResolution.OfType<INamespaceOrTypeSymbol>())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (2)
128foreach (var container in containingSymbolResolution.OfType<INamespaceOrTypeSymbol>()) 156foreach (var nsOrType in containingSymbolResolution.OfType<INamespaceOrTypeSymbol>())