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)
143Me.F.Syntax = syntax 146Me.F.Syntax = oldSyntax 237Me.F.Syntax = node.Syntax 239Me.F.Syntax = oldSyntax
54 references to Syntax
Microsoft.CodeAnalysis.VisualBasic (54)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (1)
225Me.F.Diagnostics.Add(Me.F.Syntax, useSiteInfo)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (2)
672nullCheckTarget = New BoundComplexConditionalAccessReceiver(Me.F.Syntax, 697placeholderReplacement = New BoundComplexConditionalAccessReceiver(Me.F.Syntax,
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (2)
86Me._exprRetValue = Me.F.SynthesizedLocal(Me._owner._resultType, SynthesizedLocalKind.StateMachineReturnValue, F.Syntax) 113If 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 (2)
193Dim old As SyntaxNode = _factory.Syntax 835Return New BoundCall(_factory.Syntax, helper, methodGroupOpt:=Nothing, receiverOpt:=Nothing,
Lowering\IteratorRewriter\IteratorRewriter.IteratorMethodToClassRewriter.vb (2)
64Me._methodValue = Me.F.SynthesizedLocal(F.CurrentMethod.ReturnType, SynthesizedLocalKind.StateMachineReturnValue, F.Syntax) 222Dim 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)
96CachedState = F.SynthesizedLocal(F.SpecialType(SpecialType.System_Int32), SynthesizedLocalKind.StateMachineCachedState, F.Syntax) 142Dim oldSyntax As SyntaxNode = Me.F.Syntax 236Dim oldSyntax As SyntaxNode = Me.F.Syntax 292Return 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 (21)
342Dim boundNode As New BoundStatementList(Syntax, statements) 348Dim boundNode As New BoundStatementList(Syntax, ImmutableArray.Create(first, second)) 362expression = New BoundDirectCast(Me.Syntax, expression, conversion, Me.CurrentMethod.ReturnType) 596Syntax, 620Return New BoundTernaryConditionalExpression(Me.Syntax, condition, ifTrue, ifFalse, Nothing, ifTrue.Type).MakeCompilerGenerated() 631Return New BoundTryCast(Me.Syntax, expression, Conversions.ClassifyTryCastConversion(expression.Type, type, CompoundUseSiteInfo(Of AssemblySymbol).Discarded), type) 641Return New BoundDirectCast(Me.Syntax, 914Dim boundNode = New BoundMethodInfo(Syntax, method, getMethodFromHandle, systemReflectionMethodInfo) 962Dim boundNode As New BoundMethodDefIndex(Syntax, method, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) 971Dim boundNode As New BoundMaximumMethodDefIndex(Syntax, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) 980Dim boundNode As New BoundModuleVersionId(Syntax, isLValue, WellKnownType(Microsoft.CodeAnalysis.WellKnownType.System_Guid)) 989Dim boundNode As New BoundModuleVersionIdString(Syntax, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_String)) 1000Dim boundNode As New BoundInstrumentationPayloadRoot(Syntax, analysisKind, isLValue, payloadType) 1009Dim boundNode As New BoundSourceDocumentIndex(Syntax, document, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) 1052Return New BoundTernaryConditionalExpression(Syntax, condition, consequence, alternative, Nothing, type) 1056Return New BoundBinaryConditionalExpression(Syntax, left, Nothing, Nothing, right, Nothing, left.Type) 1060Dim binOp = New BoundBinaryOperator(Syntax, kind, left, right, False, type) 1094Return New BoundTryStatement(Syntax, tryBlock, catchBlocks, finallyBlock, exitLabel) 1104Return New BoundCatchBlock(Syntax, local, Me.Local(local, False), Nothing, Nothing, block, 1122Return New BoundNoOpStatement(Me.Syntax, flavor).MakeCompilerGenerated 1135Return New BoundSpillSequence(Me.Syntax, locals, fields, statements, valueOpt,