1 instantiation of ExpressionVariableFinder
Microsoft.CodeAnalysis.CSharp (1)
Binder\ExpressionVariableFinder.cs (1)
669
return new ObjectPool<ExpressionVariableFinder>(() => new
ExpressionVariableFinder
(), 10);
23 references to ExpressionVariableFinder
Microsoft.CodeAnalysis.CSharp (23)
Binder\CatchClauseBinder.cs (1)
39
ExpressionVariableFinder
.FindExpressionVariables(this, locals, _syntax.Filter.FilterExpression);
Binder\ExpressionListVariableBinder.cs (1)
29
ExpressionVariableFinder
.FindExpressionVariables(this, builder, _expressions);
Binder\ExpressionVariableBinder.cs (1)
29
ExpressionVariableFinder
.FindExpressionVariables(this, builder, (CSharpSyntaxNode)ScopeDesignator,
Binder\ExpressionVariableFinder.cs (5)
560
ExpressionVariableFinder
finder = s_poolInstance.Allocate();
581
ExpressionVariableFinder
finder = s_poolInstance.Allocate();
665
private static readonly ObjectPool<
ExpressionVariableFinder
> s_poolInstance = CreatePool();
667
public static ObjectPool<
ExpressionVariableFinder
> CreatePool()
669
return new ObjectPool<
ExpressionVariableFinder
>(() => new ExpressionVariableFinder(), 10);
Binder\FixedStatementBinder.cs (2)
41
ExpressionVariableFinder
.FindExpressionVariables(args.binder, args.locals, size);
51
ExpressionVariableFinder
.FindExpressionVariables(this, locals, declarator);
Binder\ForEachLoopBinder.cs (1)
132
ExpressionVariableFinder
.FindExpressionVariables(this, locals, declaration);
Binder\ForLoopBinder.cs (3)
41
ExpressionVariableFinder
.FindExpressionVariables(args.binder, args.locals, size);
52
ExpressionVariableFinder
.FindExpressionVariables(this, locals, vdecl);
57
ExpressionVariableFinder
.FindExpressionVariables(this, locals, _syntax.Initializers);
Binder\LocalScopeBinder.cs (5)
220
ExpressionVariableFinder
.FindExpressionVariables(this, locals, vdecl, localDeclarationBinder);
266
ExpressionVariableFinder
.FindExpressionVariables(this, locals, innerStatement, enclosingBinder.GetBinder(innerStatement) ?? enclosingBinder);
271
ExpressionVariableFinder
.FindExpressionVariables(this, locals, innerStatement, enclosingBinder.GetBinder(switchStatement.Expression) ?? enclosingBinder);
277
ExpressionVariableFinder
.FindExpressionVariables(this, locals, innerStatement, statementBinder);
291
ExpressionVariableFinder
.FindExpressionVariables(args.localScopeBinder, args.locals, expression, args.localDeclarationBinder);
Binder\UsingStatementBinder.cs (3)
37
ExpressionVariableFinder
.FindExpressionVariables(this, locals, expressionSyntax);
51
ExpressionVariableFinder
.FindExpressionVariables(args.binder, args.locals, size);
61
ExpressionVariableFinder
.FindExpressionVariables(this, locals, declarator);
Binder\WhileBinder.cs (1)
65
ExpressionVariableFinder
.FindExpressionVariables(this, locals, node: condition);