6 writes to Syntax
Microsoft.CodeAnalysis.VisualBasic (6)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
194_factory.Syntax = node.Syntax 196_factory.Syntax = old
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (4)
142Me.F.Syntax = syntax 145Me.F.Syntax = oldSyntax 236Me.F.Syntax = node.Syntax 238Me.F.Syntax = oldSyntax
58 references to Syntax
Microsoft.CodeAnalysis.VisualBasic (58)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (1)
225Me.F.Diagnostics.Add(Me.F.Syntax, useSiteInfo)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
596placeholderReplacement = New BoundComplexConditionalAccessReceiver(Me.F.Syntax,
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (2)
85Me._exprRetValue = Me.F.SynthesizedLocal(Me._owner._resultType, SynthesizedLocalKind.StateMachineReturnValue, F.Syntax) 112If Me.SlotAllocatorOpt Is Nothing OrElse Not Me.SlotAllocatorOpt.TryGetPreviousAwaiterSlotIndex(F.CompilationState.ModuleBuilderOpt.Translate(awaiterType, F.Syntax, F.Diagnostics.DiagnosticBag), F.Diagnostics.DiagnosticBag, slotIndex) Then
Lowering\AsyncRewriter\AsyncRewriter.CapturedSymbolOrExpression.vb (2)
58Return New BoundLiteral(rewriter.F.Syntax, Me._constValue, Me._type) 73Dim syntax As SyntaxNode = rewriter.F.Syntax
Lowering\AsyncRewriter\AsyncRewriter.vb (10)
528Dim result = _binder.BindInvocationExpression(Me.F.Syntax, 529Me.F.Syntax, 549Me.Diagnostics.Add(Me.F.Syntax, useSiteInfo) 555group = New BoundMethodGroup(Me.F.Syntax, 568Me.F.Syntax.GetLocation()) 584Dim result = _binder.BindInvocationExpression(Me.F.Syntax, 585Me.F.Syntax, 608Me.Diagnostics.Add(Me.F.Syntax, useSiteInfo) 614group = New BoundPropertyGroup(Me.F.Syntax, 626Me.F.Syntax.GetLocation())
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (6)
193Dim old As SyntaxNode = _factory.Syntax 807Dim result = _binder.BindInvocationExpression(_factory.Syntax, 808_factory.Syntax, 833Me.Diagnostics.Add(Me._factory.Syntax, useSiteInfo) 839group = New BoundMethodGroup(Me._factory.Syntax, 852Me._factory.Syntax.GetLocation())
Lowering\IteratorRewriter\IteratorRewriter.IteratorMethodToClassRewriter.vb (2)
63Me._methodValue = Me.F.SynthesizedLocal(F.CurrentMethod.ReturnType, SynthesizedLocalKind.StateMachineReturnValue, F.Syntax) 217Dim syntax As SyntaxNode = Me.F.Syntax
Lowering\LocalRewriter\LocalRewriter.vb (1)
842nodeFactory.Syntax,
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (4)
43_currentLineTemporary = New SynthesizedLocal(_topMethod, int32, SynthesizedLocalKind.OnErrorCurrentLine, DirectCast(nodeFactory.Syntax, StatementSyntax)) 147_unstructuredExceptionHandling.ActiveHandlerTemporary = New SynthesizedLocal(_topMethod, int32, SynthesizedLocalKind.OnErrorActiveHandler, DirectCast(nodeFactory.Syntax, StatementSyntax)) 149_unstructuredExceptionHandling.ResumeTargetTemporary = New SynthesizedLocal(_topMethod, int32, SynthesizedLocalKind.OnErrorResumeTarget, DirectCast(nodeFactory.Syntax, StatementSyntax)) 153_unstructuredExceptionHandling.CurrentStatementTemporary = New SynthesizedLocal(_topMethod, int32, SynthesizedLocalKind.OnErrorCurrentStatement, DirectCast(nodeFactory.Syntax, StatementSyntax))
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (4)
95CachedState = F.SynthesizedLocal(F.SpecialType(SpecialType.System_Int32), SynthesizedLocalKind.StateMachineCachedState, F.Syntax) 141Dim oldSyntax As SyntaxNode = Me.F.Syntax 235Dim oldSyntax As SyntaxNode = Me.F.Syntax 291Return Me.F.Block(New BoundStateMachineScope(Me.F.Syntax, hoistedLocals, statement).MakeCompilerGenerated)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (3)
443Me.F.Syntax, 470Me.F.Syntax, 509Me.F.Syntax,
Lowering\SyntheticBoundNodeFactory.vb (22)
338Dim boundNode As New BoundStatementList(Syntax, statements) 344Dim boundNode As New BoundStatementList(Syntax, ImmutableArray.Create(first, second)) 358expression = New BoundDirectCast(Me.Syntax, expression, conversion, Me.CurrentMethod.ReturnType) 592Syntax, 616Return New BoundTernaryConditionalExpression(Me.Syntax, condition, ifTrue, ifFalse, Nothing, ifTrue.Type).MakeCompilerGenerated() 627Return New BoundTryCast(Me.Syntax, expression, Conversions.ClassifyTryCastConversion(expression.Type, type, CompoundUseSiteInfo(Of AssemblySymbol).Discarded), type) 637Return New BoundDirectCast(Me.Syntax, 873Dim boundNode = New BoundMethodInfo(Syntax, method, WellKnownType(Microsoft.CodeAnalysis.WellKnownType.System_Reflection_MethodInfo)) 901Dim boundNode = New BoundMethodInfo(Syntax, meth, WellKnownType(Microsoft.CodeAnalysis.WellKnownType.System_Reflection_ConstructorInfo)) 928Dim boundNode As New BoundMethodDefIndex(Syntax, method, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) 937Dim boundNode As New BoundMaximumMethodDefIndex(Syntax, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) 946Dim boundNode As New BoundModuleVersionId(Syntax, isLValue, WellKnownType(Microsoft.CodeAnalysis.WellKnownType.System_Guid)) 955Dim boundNode As New BoundModuleVersionIdString(Syntax, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_String)) 966Dim boundNode As New BoundInstrumentationPayloadRoot(Syntax, analysisKind, isLValue, payloadType) 975Dim boundNode As New BoundSourceDocumentIndex(Syntax, document, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) 1018Return New BoundTernaryConditionalExpression(Syntax, condition, consequence, alternative, Nothing, type) 1022Return New BoundBinaryConditionalExpression(Syntax, left, Nothing, Nothing, right, Nothing, left.Type) 1026Dim binOp = New BoundBinaryOperator(Syntax, kind, left, right, False, type) 1060Return New BoundTryStatement(Syntax, tryBlock, catchBlocks, finallyBlock, exitLabel) 1070Return New BoundCatchBlock(Syntax, local, Me.Local(local, False), Nothing, Nothing, block, 1088Return New BoundNoOpStatement(Me.Syntax, flavor).MakeCompilerGenerated 1101Return New BoundSpillSequence(Me.Syntax, locals, fields, statements, valueOpt,