32 references to GetEnclosingBinder
Microsoft.CodeAnalysis.CSharp (32)
Compilation\CSharpSemanticModel.cs (17)
216
Binder binder = this.
GetEnclosingBinder
(position);
242
var binder = this.
GetEnclosingBinder
(position);
333
var binder = this.
GetEnclosingBinder
(position);
809
var binder = memberModel.
GetEnclosingBinder
(position);
1584
var binder =
GetEnclosingBinder
(position);
1832
var binder = this.
GetEnclosingBinder
(position);
2218
var binder = this.
GetEnclosingBinder
(boundExpr.Syntax.Span.Start);
2861
var binder = this.
GetEnclosingBinder
(position);
2913
var binder = this.
GetEnclosingBinder
(position);
3276
Binder enclosingBinder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(forEachStatement));
3314
Binder enclosingBinder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(catchClause));
3692
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4043
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(lowestBoundNode.Syntax));
4103
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4264
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4913
var binder =
GetEnclosingBinder
(position);
5411
var binder =
GetEnclosingBinder
(position);
Compilation\InitializerSemanticModel.cs (1)
205
var binder = this.
GetEnclosingBinder
(position);
Compilation\MemberSemanticModel.cs (5)
694
for (var binder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(declarationSyntax)); binder != null; binder = binder.Next)
716
var originalSymbol = GetDeclaredLocalFunction(this.
GetEnclosingBinder
(GetAdjustedNodePosition(declarationSyntax)), declarationSyntax.Identifier);
755
var binder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(declarationSyntax));
781
var binder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(declarationSyntax));
2029
binder =
GetEnclosingBinder
(GetAdjustedNodePosition(nodeToBind));
Compilation\MethodBodySemanticModel.cs (4)
206
var binder = this.
GetEnclosingBinder
(position);
224
var binder = this.
GetEnclosingBinder
(position);
244
var binder = this.
GetEnclosingBinder
(position);
266
var binder = this.
GetEnclosingBinder
(position);
Compilation\SyntaxTreeSemanticModel.cs (5)
163
return memberModel.
GetEnclosingBinder
(position);
225
var binder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(node));
251
var binder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(node));
334
var binder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(node));
619
Binder binder =
GetEnclosingBinder
(position);