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