53 references to GetEnclosingBinder
Microsoft.CodeAnalysis.CSharp (32)
Compilation\CSharpSemanticModel.cs (17)
217
Binder binder = this.
GetEnclosingBinder
(position);
243
var binder = this.
GetEnclosingBinder
(position);
334
var binder = this.
GetEnclosingBinder
(position);
810
var binder = memberModel.
GetEnclosingBinder
(position);
1585
var binder =
GetEnclosingBinder
(position);
1833
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));
3693
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4044
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(lowestBoundNode.Syntax));
4104
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4265
Binder binder = binderOpt ??
GetEnclosingBinder
(GetAdjustedNodePosition(boundNode.Syntax));
4914
var binder =
GetEnclosingBinder
(position);
5412
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));
2030
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\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);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Semantics\PatternMatchingTestBase.cs (1)
460
var binder = model.
GetEnclosingBinder
(node.SpanStart);
Semantics\PatternMatchingTests4.cs (11)
4019
var binder = model.
GetEnclosingBinder
(@switch.SpanStart);
4088
var binder = model.
GetEnclosingBinder
(@switch.SpanStart);
4161
var binder = model.
GetEnclosingBinder
(@switch.SpanStart);
4233
var binder = model.
GetEnclosingBinder
(@is.SpanStart);
4277
var binder = model.
GetEnclosingBinder
(@switch.SpanStart);
4324
var binder = model.
GetEnclosingBinder
(@switch.SpanStart);
4406
var binder = model.
GetEnclosingBinder
(@switch.SpanStart);
4488
var binder = model.
GetEnclosingBinder
(@switch.SpanStart);
4570
var binder = model.
GetEnclosingBinder
(@switch.SpanStart);
4652
var binder = model.
GetEnclosingBinder
(@switch.SpanStart);
4736
var binder = model.
GetEnclosingBinder
(@switch.SpanStart);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\LambdaTests.cs (2)
8158
var methodBinder = getBinder<BlockBinder>(methodModel.
GetEnclosingBinder
(methodSyntax.Body.SpanStart));
8159
var defaultValueBinder = getBinder<BlockBinder>(defaultValueModel.
GetEnclosingBinder
(defaultValue.SpanStart));
Semantics\LookupTests.cs (2)
428
var binder = ((CSharpSemanticModel)model).
GetEnclosingBinder
(position);
584
var binder = ((CSharpSemanticModel)model).
GetEnclosingBinder
(position);
Semantics\OperatorTests.cs (2)
7332
var binder = model.
GetEnclosingBinder
(methodBody.SpanStart);
8816
var binder = model.
GetEnclosingBinder
(methodBody.SpanStart);
Semantics\UnsafeTests.cs (1)
5200
var binder = ((CSharpSemanticModel)model).
GetEnclosingBinder
(methodBody.SpanStart);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\SemanticModelAPITests.cs (1)
2271
var binder = ((CSharpSemanticModel)speculativeModel).
GetEnclosingBinder
(initializer.SpanStart);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
2171
var binder = ((CSharpSemanticModel)model).
GetEnclosingBinder
(pos);