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