26 instantiations of SyntheticBoundNodeFactory
Microsoft.CodeAnalysis.VisualBasic (26)
Binding\SyntheticBoundTrees\SynthesizedStringSwitchHashMethod.vb (1)
54
Dim F = New
SyntheticBoundNodeFactory
(Me, Me, Me.Syntax, compilationState, diagnostics)
Compilation\MethodCompiler.vb (1)
807
Dim f = New
SyntheticBoundNodeFactory
(matchingStub, matchingStub, If(method.Syntax, VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot()), compilationState, BindingDiagnosticBag.Discarded)
Emit\SynthesizedPrivateImplementationDetailsSharedConstructor.vb (1)
65
Dim factory As New
SyntheticBoundNodeFactory
(Me, Me, VisualBasicSyntaxTree.Dummy.GetRoot(), compilationState, diagnostics)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
46
_factory = New
SyntheticBoundNodeFactory
(Nothing, currentMethod, node, compilationState, diagnostics)
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
430
Dim statementFactory As New
SyntheticBoundNodeFactory
(_methodBodyFactory.TopLevelMethod, _method, original.Syntax, _methodBodyFactory.CompilationState, _diagnostics)
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
339
Dim F = New
SyntheticBoundNodeFactory
(frame.SharedConstructor, frame.SharedConstructor, syntax, CompilationState, diagnostics)
1193
Dim F = New
SyntheticBoundNodeFactory
(Me._topLevelMethod, Me._currentMethod, node.Syntax, CompilationState, Diagnostics)
Lowering\LocalRewriter\LocalRewriter.vb (2)
833
Dim nodeFactory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
866
Dim nodeFactory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (1)
267
Dim factory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (1)
48
Dim factory = New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (2)
209
Dim factory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, syntax, _compilationState, _diagnostics)
320
Dim F As New
SyntheticBoundNodeFactory
(Me._topMethod, Me._currentMethodOrLambda, node.Syntax, Me._compilationState, Me._diagnostics)
Lowering\LocalRewriter\LocalRewriter_InterpolatedString.vb (2)
20
Dim factory = New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
85
New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics))
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (1)
67
Dim factory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_StringConcat.vb (1)
43
Dim factory = New
SyntheticBoundNodeFactory
(Me._topMethod, Me._currentMethodOrLambda, syntax, Me._compilationState, Me._diagnostics)
Lowering\LocalRewriter\LocalRewriter_Throw.vb (1)
24
Dim nodeFactory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (5)
41
Dim nodeFactory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
143
Dim nodeFactory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
326
Dim nodeFactory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
384
Dim nodeFactory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
462
Dim nodeFactory As New
SyntheticBoundNodeFactory
(_topMethod, _currentMethodOrLambda, syntax, _compilationState, _diagnostics)
Lowering\Rewriter.vb (1)
51
CodeCoverageInstrumenter.TryCreate(method, body, New
SyntheticBoundNodeFactory
(method, method, body.Syntax, compilationState, diagnostics), diagnostics, debugDocumentProvider, Instrumenter.NoOp),
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
63
Me.F = New
SyntheticBoundNodeFactory
(method, method, method.ContainingType, body.Syntax, compilationState, diagnostics)
Lowering\SyntheticBoundNodeFactory.vb (1)
68
Me.
New
(topLevelMethod, currentMethod, Nothing, node, compilationState, diagnostics)
49 references to SyntheticBoundNodeFactory
Microsoft.CodeAnalysis.VisualBasic (49)
CodeGen\ResumableStateMachineStateAllocator.vb (1)
74
Public Function GenerateThrowMissingStateDispatch(f As
SyntheticBoundNodeFactory
, cachedState As BoundExpression, message As String) As BoundStatement
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (1)
62
builder.AddStatement(
SyntheticBoundNodeFactory
.HiddenSequencePoint())
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (4)
64
F As
SyntheticBoundNodeFactory
,
171
SyntheticBoundNodeFactory
.HiddenSequencePoint(),
179
SyntheticBoundNodeFactory
.HiddenSequencePoint(),
202
bodyBuilder.Add(
SyntheticBoundNodeFactory
.HiddenSequencePoint())
Lowering\AsyncRewriter\AsyncRewriter.SpillBuilder.vb (1)
37
Friend Function BuildSequenceAndFree(F As
SyntheticBoundNodeFactory
, expression As BoundExpression) As BoundExpression
Lowering\AsyncRewriter\AsyncRewriter.SpillFieldAllocator.vb (2)
25
Private ReadOnly _F As
SyntheticBoundNodeFactory
31
Friend Sub New(f As
SyntheticBoundNodeFactory
)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
28
Private ReadOnly _factory As
SyntheticBoundNodeFactory
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (7)
33
Private ReadOnly _methodBodyFactory As
SyntheticBoundNodeFactory
38
methodBodyFactory As
SyntheticBoundNodeFactory
,
106
methodBodyFactory As
SyntheticBoundNodeFactory
,
179
methodBodyFactory As
SyntheticBoundNodeFactory
,
449
Private Function AddAnalysisPoint(syntaxForSpan As SyntaxNode, alternateSpan As Text.TextSpan, statementFactory As
SyntheticBoundNodeFactory
) As BoundStatement
453
Private Function AddAnalysisPoint(syntaxForSpan As SyntaxNode, statementFactory As
SyntheticBoundNodeFactory
) As BoundStatement
457
Private Function AddAnalysisPoint(syntaxForSpan As SyntaxNode, span As FileLinePositionSpan, statementFactory As
SyntheticBoundNodeFactory
) As BoundStatement
Lowering\IteratorRewriter\IteratorRewriter.IteratorMethodToClassRewriter.vb (3)
27
Friend Sub New(F As
SyntheticBoundNodeFactory
,
81
SyntheticBoundNodeFactory
.HiddenSequencePoint(),
129
SyntheticBoundNodeFactory
.HiddenSequencePoint(),
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (1)
303
Private Function Convert(factory As
SyntheticBoundNodeFactory
, type As TypeSymbol, expr As BoundExpression) As BoundExpression
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
362
Private Function CouldPossiblyBeNothing(F As
SyntheticBoundNodeFactory
, node As BoundExpression) As Boolean
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (1)
408
boundIncrementAssignment =
SyntheticBoundNodeFactory
.HiddenSequencePoint(boundIncrementAssignment)
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (5)
263
gotoPostIncrement =
SyntheticBoundNodeFactory
.HiddenSequencePoint(gotoPostIncrement)
284
gotoPostIncrement =
SyntheticBoundNodeFactory
.HiddenSequencePoint(label)
290
ifConditionGotoStart =
SyntheticBoundNodeFactory
.HiddenSequencePoint(ifConditionGotoStart)
533
label =
SyntheticBoundNodeFactory
.HiddenSequencePoint(label)
534
ifConditionGotoStart =
SyntheticBoundNodeFactory
.HiddenSequencePoint(ifConditionGotoStart)
Lowering\LocalRewriter\LocalRewriter_If.vb (1)
162
afterIfStatement =
SyntheticBoundNodeFactory
.HiddenSequencePoint(afterIfStatement)
Lowering\LocalRewriter\LocalRewriter_InterpolatedString.vb (1)
89
Private Function InvokeInterpolatedStringFactory(node As BoundInterpolatedStringExpression, factoryType As TypeSymbol, factoryMethodName As String, targetType As TypeSymbol, factory As
SyntheticBoundNodeFactory
) As BoundExpression
Lowering\LocalRewriter\LocalRewriter_StringConcat.vb (6)
164
Private Function TryFoldTwoConcatOperands(factory As
SyntheticBoundNodeFactory
,
225
Private Shared Function RewriteStringConcatenationOneExpr(factory As
SyntheticBoundNodeFactory
,
232
factory As
SyntheticBoundNodeFactory
,
247
factory As
SyntheticBoundNodeFactory
,
263
factory As
SyntheticBoundNodeFactory
,
280
factory As
SyntheticBoundNodeFactory
,
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (1)
167
statements.Add(
SyntheticBoundNodeFactory
.HiddenSequencePoint())
Lowering\LocalRewriter\LocalRewriter_Using.vb (1)
213
Dim newBody = DirectCast(Concat(currentBody,
SyntheticBoundNodeFactory
.HiddenSequencePoint()), BoundBlock)
Lowering\LocalRewriter\LocalRewriter_While.vb (1)
138
gotoContinue =
SyntheticBoundNodeFactory
.HiddenSequencePoint(gotoContinue)
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (7)
19
Protected Friend ReadOnly F As
SyntheticBoundNodeFactory
76
Public Sub New(F As
SyntheticBoundNodeFactory
,
357
tryBlock = Me.F.Block(
SyntheticBoundNodeFactory
.HiddenSequencePoint(),
369
tryBlock = Me.F.Block(
SyntheticBoundNodeFactory
.HiddenSequencePoint(), Me.Dispatch(isOutermost:=False), tryBlock)
387
SyntheticBoundNodeFactory
.HiddenSequencePoint(),
393
SyntheticBoundNodeFactory
.HiddenSequencePoint()))
397
result = Me.F.Block(
SyntheticBoundNodeFactory
.HiddenSequencePoint(), Me.F.Label(dispatchLabel), result)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (2)
27
Protected ReadOnly F As
SyntheticBoundNodeFactory
125
bodyBuilder.Add(
SyntheticBoundNodeFactory
.HiddenSequencePoint())
Symbols\MethodSymbol.vb (1)
804
''' <param name="compilationState">Enables synthesized methods to create <see cref="
SyntheticBoundNodeFactory
"/> instances.</param>