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);
807
var binder = memberModel.
GetEnclosingBinder
(position);
1582
var binder =
GetEnclosingBinder
(position);
1830
var binder = this.
GetEnclosingBinder
(position);
2216
var binder = this.
GetEnclosingBinder
(boundExpr.Syntax.Span.Start);
2859
var binder = this.
GetEnclosingBinder
(position);
2911
var binder = this.
GetEnclosingBinder
(position);
3274
Binder enclosingBinder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(forEachStatement));
3312
Binder enclosingBinder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(catchClause));
3690
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4041
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(lowestBoundNode.Syntax));
4101
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4262
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4911
var binder =
GetEnclosingBinder
(position);
5409
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);