2 writes to _position
Microsoft.CodeAnalysis.CSharp (2)
Binder\BinderFactory.BinderFactoryVisitor.cs (2)
32_position = position; 40_position = 0;
33 references to _position
Microsoft.CodeAnalysis.CSharp (33)
Binder\BinderFactory.BinderFactoryVisitor.cs (33)
137if (!LookupPosition.IsInMethodDeclaration(_position, methodDecl)) 143if (LookupPosition.IsInBody(_position, methodDecl)) 147else if (LookupPosition.IsInMethodTypeParameterScope(_position, methodDecl)) 199if (!LookupPosition.IsInMethodDeclaration(_position, parent)) 204bool inBodyOrInitializer = LookupPosition.IsInConstructorParameterScope(_position, parent); 238if (!LookupPosition.IsInBody(_position, parent)) 265if (!LookupPosition.IsInMethodDeclaration(_position, parent)) 270bool inBody = LookupPosition.IsInBody(_position, parent); 333if (!LookupPosition.IsInMethodDeclaration(_position, parent)) 338bool inBody = LookupPosition.IsInBody(_position, parent); 390if (!LookupPosition.IsInBody(_position, parent)) 400if (!LookupPosition.IsInBody(_position, parent)) 664if (!LookupPosition.IsInDelegateDeclaration(_position, parent)) 697bool inBody = LookupPosition.IsBetweenTokens(_position, parent.OpenBraceToken, parent.CloseBraceToken) || 698LookupPosition.IsInAttributeSpecification(_position, parent.AttributeLists); 727if (!LookupPosition.IsInTypeDeclaration(_position, parent)) 738LookupPosition.IsBetweenTokens(_position, parent.OpenBraceToken, parent.CloseBraceToken)) 742else if (LookupPosition.IsInAttributeSpecification(_position, parent.AttributeLists)) 746else if (LookupPosition.IsInTypeParameterList(_position, parent)) 750else if (LookupPosition.IsBetweenTokens(_position, parent.Keyword, parent.OpenBraceToken)) 824if (!LookupPosition.IsInNamespaceDeclaration(_position, parent)) 831bool inBody = LookupPosition.IsBetweenTokens(_position, parent.OpenBraceToken, parent.CloseBraceToken); 835return VisitNamespaceDeclaration(parent, _position, inBody, inUsing); 840if (!LookupPosition.IsInNamespaceDeclaration(_position, parent)) 846bool inBody = _position >= parent.SemicolonToken.EndPosition; 850return VisitNamespaceDeclaration(parent, _position, inBody, inUsing); 1069if (containingNode.Kind() != SyntaxKind.CompilationUnit && _position == containingSpan.End) 1075else if (_position < containingSpan.Start || _position > containingSpan.End) //NB: > not >= 1081token = containingNode.FindToken(_position); 1121if (parent.Type.Span.Contains(_position)) 1132if (!LookupPosition.IsInXmlAttributeValue(_position, parent)) 1168if (!LookupPosition.IsInXmlAttributeValue(_position, parent))