10 references to MakeLocalDeclaration
Microsoft.CodeAnalysis.CSharp (10)
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (10)
187BoundStatement enumeratorVarDecl = MakeLocalDeclaration(forEachSyntax, enumeratorVar, enumeratorVarInitValue);
442BoundStatement disposableVarDecl = MakeLocalDeclaration(forEachSyntax, disposableVar, disposableVarInitValue);
626BoundStatement arrayVarDecl = MakeLocalDeclaration(forEachSyntax, collectionTemp, rewrittenExpression);
645BoundStatement positionVarDecl = MakeLocalDeclaration(forEachSyntax, positionVar,
821iterationVarDecl = MakeLocalDeclaration(syntax, iterationVariables[0], iterationVarValue);
920BoundStatement arrayVarDecl = MakeLocalDeclaration(forEachSyntax, arrayVar, rewrittenExpression);
934BoundStatement positionVarDecl = MakeLocalDeclaration(forEachSyntax, positionVar,
1077BoundStatement arrayVarDecl = MakeLocalDeclaration(forEachSyntax, arrayVar, rewrittenExpression);
1105upperVarDecl[dimension] = MakeLocalDeclaration(forEachSyntax, upperVar[dimension], currentDimensionUpperBound);
1159BoundStatement positionVarDecl = MakeLocalDeclaration(forEachSyntax, positionVar[dimension], currentDimensionLowerBound);