10 references to ForEachIterationVariable
Microsoft.CodeAnalysis.CSharp (10)
Binder\ForEachLoopBinder.cs (2)
80LocalDeclarationKind.ForEachIterationVariable, 428iterationVariables.All(local => local.DeclarationKind == LocalDeclarationKind.ForEachIterationVariable),
Compilation\CSharpSemanticModel.cs (1)
3282return (local is SourceLocalSymbol { DeclarationKind: LocalDeclarationKind.ForEachIterationVariable } sourceLocal
Symbols\LocalSymbol.cs (2)
271return this.DeclarationKind == LocalDeclarationKind.ForEachIterationVariable; 308case LocalDeclarationKind.ForEachIterationVariable:
Symbols\Source\SourceLocalSymbol.cs (5)
115return new ForEachLocalSymbol(containingMethod, binder, typeSyntax, identifierToken, collection, LocalDeclarationKind.ForEachIterationVariable); 211Debug.Assert(declarationKind != LocalDeclarationKind.ForEachIterationVariable); 442case LocalDeclarationKind.ForEachIterationVariable: 535Debug.Assert(declarationKind != LocalDeclarationKind.ForEachIterationVariable); 634Debug.Assert(declarationKind == LocalDeclarationKind.ForEachIterationVariable);