15 writes to _context
Microsoft.CodeAnalysis.VisualBasic (15)
Parser\ParseExpression.vb (8)
1759
_context
= lambdaContext
1770
_context
= lambdaContext.PrevBlock
1783
_context
= lambdaContext
1786
_context
= _context.ResyncAndProcessStatementTerminator(header, lambdaContext)
1794
_context
= _context.EndLambda()
1807
_context
= _context.LinkSyntax(statement)
1813
_context
= _context.ResyncAndProcessStatementTerminator(statement, lambdaContext)
1818
_context
= _context.EndLambda()
Parser\Parser.vb (7)
63
_context
= New CompilationUnitContext(Me)
441
_context
= incrementalContext
473
_context
= _context.LinkSyntax(adjustedStatement)
474
_context
= _context.ResyncAndProcessStatementTerminator(adjustedStatement, lambdaContext:=Nothing)
529
_context
= methodContext
533
_context
= _context.LinkSyntax(statement)
534
_context
= _context.ResyncAndProcessStatementTerminator(statement, lambdaContext:=Nothing)
28 references to _context
Microsoft.CodeAnalysis.VisualBasic (28)
Parser\ParseExpression.vb (14)
1758
Dim lambdaContext = New SingleLineLambdaContext(header,
_context
)
1769
Debug.Assert(
_context
Is lambdaContext)
1773
Dim statementContext =
_context
'This is the statement context that contains the lambda expression
1786
_context =
_context
.ResyncAndProcessStatementTerminator(header, lambdaContext)
1791
While
_context
.Level >= lambdaContext.Level
1794
_context =
_context
.EndLambda()
1798
statement =
_context
.Parse()
1805
_context
.Add(ReportSyntaxError(statement, ERRID.ERR_InvInsideEndsProc))
1807
_context =
_context
.LinkSyntax(statement)
1808
If
_context
.Level < lambdaContext.Level Then
1813
_context =
_context
.ResyncAndProcessStatementTerminator(statement, lambdaContext)
1817
If
_context
.Level >= lambdaContext.Level Then
1818
_context =
_context
.EndLambda()
1824
Debug.Assert(
_context
Is statementContext, "Lambda terminated with the wrong context.")
Parser\Parser.vb (14)
380
Dim incrementalContext =
_context
431
Debug.Assert(
_context
IsNot Nothing)
432
Dim programContext As CompilationUnitContext = DirectCast(
_context
, CompilationUnitContext)
448
Debug.Assert(Not
_context
.IsSingleLine) ' Not handling single-line statements.
467
_context
.RecoverFromMissingEnd(programContext)
471
Dim statement =
_context
.Parse()
473
_context =
_context
.LinkSyntax(adjustedStatement)
474
_context =
_context
.ResyncAndProcessStatementTerminator(adjustedStatement, lambdaContext:=Nothing)
532
Dim statement =
_context
.Parse()
533
_context =
_context
.LinkSyntax(statement)
534
_context =
_context
.ResyncAndProcessStatementTerminator(statement, lambdaContext:=Nothing)
536
Loop While
_context
.Level > methodContext.Level AndAlso Not CurrentToken.IsEndOfParse
538
_context
.RecoverFromMissingEnd(methodContext)
5689
Return
_context