4 references to GetInteriorSymbols
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
SymbolKeyTests.cs (4)
542
var symbols = GetDeclaredSymbols(compilation).OfType<IMethodSymbol>().SelectMany(ms =>
GetInteriorSymbols
(ms, compilation).OfType<ILocalSymbol>()).ToList();
564
var symbols = GetDeclaredSymbols(compilation).OfType<IMethodSymbol>().SelectMany(ms =>
GetInteriorSymbols
(ms, compilation).OfType<ILabelSymbol>()).ToList();
591
var symbols = GetDeclaredSymbols(compilation).OfType<IMethodSymbol>().SelectMany(ms =>
GetInteriorSymbols
(ms, compilation).OfType<IRangeVariableSymbol>()).ToList();
1404
var symbols = methods.SelectMany(ms =>
GetInteriorSymbols
(ms, compilation)).Where(s => SymbolKey.IsBodyLevelSymbol(s)).ToList();