8 references to AllReferencedSymbols
Microsoft.CodeAnalysis.Features (8)
IntroduceVariable\AbstractIntroduceVariableService.cs (3)
187
!state.GetSemanticMap(cancellationToken).
AllReferencedSymbols
.OfType<ILocalSymbol>().Any() &&
188
!state.GetSemanticMap(cancellationToken).
AllReferencedSymbols
.OfType<IParameterSymbol>().Any())
443
var anonymousMethodParameters = semanticMap.
AllReferencedSymbols
IntroduceVariable\AbstractIntroduceVariableService.State_Block.cs (1)
27
if (bindingMap.
AllReferencedSymbols
.Any(s => s is IRangeVariableSymbol))
IntroduceVariable\AbstractIntroduceVariableService.State_ConstructorInitializer.cs (1)
31
if (bindingMap.
AllReferencedSymbols
.OfType<IParameterSymbol>().Any())
IntroduceVariable\AbstractIntroduceVariableService.State_Field.cs (1)
38
if (bindingMap.
AllReferencedSymbols
.OfType<IParameterSymbol>().Any())
IntroduceVariable\AbstractIntroduceVariableService.State_Parameter.cs (1)
28
if (bindingMap.
AllReferencedSymbols
.OfType<ITypeParameterSymbol>()
IntroduceVariable\AbstractIntroduceVariableService.State_Query.cs (1)
26
if (!semanticMap.
AllReferencedSymbols
.Any(s => s is IRangeVariableSymbol))