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