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