38 references to GetEnclosingBinder
Microsoft.CodeAnalysis.CSharp (38)
Compilation\CSharpSemanticModel.cs (18)
218
Binder binder = this.
GetEnclosingBinder
(position);
244
var binder = this.
GetEnclosingBinder
(position);
335
var binder = this.
GetEnclosingBinder
(position);
823
var binder = memberModel.
GetEnclosingBinder
(position);
896
var binder = memberModel.
GetEnclosingBinder
(LookupPosition.IsBetweenTokens(position, argumentList.OpenParenToken, argumentList.CloseParenToken) ? position : argumentList.OpenParenToken.SpanStart);
1598
var binder =
GetEnclosingBinder
(position);
1849
var binder = this.
GetEnclosingBinder
(position);
2219
var binder = this.
GetEnclosingBinder
(boundExpr.Syntax.Span.Start);
2862
var binder = this.
GetEnclosingBinder
(position);
2914
var binder = this.
GetEnclosingBinder
(position);
3277
Binder enclosingBinder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(forEachStatement));
3315
Binder enclosingBinder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(catchClause));
3701
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4057
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(lowestBoundNode.Syntax));
4117
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4278
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4969
var binder =
GetEnclosingBinder
(position);
5469
var binder =
GetEnclosingBinder
(position);
Compilation\InitializerSemanticModel.cs (1)
205
var binder = this.
GetEnclosingBinder
(position);
Compilation\MemberSemanticModel.cs (5)
695
for (var binder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(declarationSyntax)); binder != null; binder = binder.Next)
717
var originalSymbol = GetDeclaredLocalFunction(this.
GetEnclosingBinder
(GetAdjustedNodePosition(declarationSyntax)), declarationSyntax.Identifier);
756
var binder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(declarationSyntax));
782
var binder = this.
GetEnclosingBinder
(GetAdjustedNodePosition(declarationSyntax));
2068
binder =
GetEnclosingBinder
(GetAdjustedNodePosition(nodeToBind));
Compilation\MethodBodySemanticModel.cs (4)
205
var binder = this.
GetEnclosingBinder
(position);
223
var binder = this.
GetEnclosingBinder
(position);
243
var binder = this.
GetEnclosingBinder
(position);
265
var binder = this.
GetEnclosingBinder
(position);
Compilation\SpeculativeSemanticModelWithMemberModel.cs (2)
182
(binder: containing.
GetEnclosingBinder
(attribute.SpanStart), model: containing));
200
tuple.containing.
GetEnclosingBinder
(tuple.paramDecl.SpanStart).
Compilation\SyntaxTreeSemanticModel.cs (8)
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);
986
(binder: containing.
GetEnclosingBinder
(attribute.SpanStart), model: containing));
1025
tuple.containing.
GetEnclosingBinder
(tuple.paramDecl.SpanStart).
1888
Binder binder =
GetEnclosingBinder
(declarationSyntax.Position);