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