8 references to AllReferencedSymbols
Microsoft.CodeAnalysis.Features (8)
IntroduceVariable\AbstractIntroduceVariableService.cs (3)
193
!state.GetSemanticMap(cancellationToken).
AllReferencedSymbols
.OfType<ILocalSymbol>().Any() &&
194
!state.GetSemanticMap(cancellationToken).
AllReferencedSymbols
.OfType<IParameterSymbol>().Any())
413
var anonymousMethodParameters = semanticMap.
AllReferencedSymbols
IntroduceVariable\AbstractIntroduceVariableService.State_Block.cs (1)
24
if (bindingMap.
AllReferencedSymbols
.Any(s => s is IRangeVariableSymbol))
IntroduceVariable\AbstractIntroduceVariableService.State_ConstructorInitializer.cs (1)
29
if (bindingMap.
AllReferencedSymbols
.OfType<IParameterSymbol>().Any())
IntroduceVariable\AbstractIntroduceVariableService.State_Field.cs (1)
36
if (bindingMap.
AllReferencedSymbols
.OfType<IParameterSymbol>().Any())
IntroduceVariable\AbstractIntroduceVariableService.State_Parameter.cs (1)
26
if (bindingMap.
AllReferencedSymbols
.OfType<ITypeParameterSymbol>()
IntroduceVariable\AbstractIntroduceVariableService.State_Query.cs (1)
24
if (!semanticMap.
AllReferencedSymbols
.Any(s => s is IRangeVariableSymbol))