22 references to ToStatement
Microsoft.CodeAnalysis.VisualBasic (22)
Analysis\InitializerRewriter.vb (1)
157
MakeCompilerGenerated().
ToStatement
().MakeCompilerGenerated())
Lowering\LocalRewriter\LocalRewriter.vb (2)
851
rewritten = boundNode.
ToStatement
()
872
rewritten = nodeFactory.Call(Nothing, endApp, ImmutableArray(Of BoundExpression).Empty).
ToStatement
()
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (2)
131
rewrittenStatement = VisitExpressionNode(initialValueToRewrite).
ToStatement
139
suppressObjectClone:=False)).
ToStatement
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (1)
721
ErrorTypeSymbol.UnknownResultType, hasErrors:=True).
ToStatement
()
Lowering\LocalRewriter\LocalRewriter_Label.vb (1)
32
suppressObjectClone:=True).
ToStatement
()
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (3)
230
Dim conditionalFlagInit = RewriteIfStatement(syntax, flagIsNothing, interlockedCompareExchangeFlagWithNewInstance.
ToStatement
(), Nothing, instrumentationTargetOpt:=Nothing)
274
Dim flagStateAssignTwo = New BoundAssignmentOperator(syntax, flagState, two, suppressObjectClone:=True).
ToStatement
()
321
suppressObjectClone:=True).
ToStatement
()
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (1)
242
type:=selectExprType).
ToStatement
().MakeCompilerGenerated())
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (4)
103
Dim boundHelperCallStatement = boundHelperCall.
ToStatement
219
Dim boundMonitorEnterCallStatement = boundMonitorEnterCall.
ToStatement
225
Return New BoundBadExpression(syntaxNode, LookupResultKind.NotReferencable, ImmutableArray(Of Symbol).Empty, parameters, ErrorTypeSymbol.UnknownResultType, hasErrors:=True).
ToStatement
()
252
Dim boundMonitorExitCallStatement = boundMonitorExitCall.
ToStatement
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (6)
216
nodeFactory.Local(_unstructuredExceptionHandling.CurrentStatementTemporary, isLValue:=False))).
ToStatement
())
301
New BoundCall(node.Syntax, clearProjectError, Nothing, Nothing, ImmutableArray(Of BoundExpression).Empty, Nothing, clearProjectError.ReturnType).
ToStatement
(),
349
nodeFactory.Literal(0)).
ToStatement
())
371
nodeFactory.Literal(newErrorHandlerIndex)).
ToStatement
())
423
nodeFactory.Literal(0)).
ToStatement
())
464
nodeFactory.Literal(_unstructuredExceptionHandling.ResumeTargets.Count)).
ToStatement
())
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
77
callerInfoOpt:=Nothing).
ToStatement
()