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