17 references to Literal
Microsoft.CodeAnalysis.VisualBasic (17)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (1)
593
Me._factory.Convert(Me.ObjectType, Me._factory.
Literal
(shiftMask)),
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (2)
231
methodBodyFactory.
Literal
(dynamicAnalysisSpans.Length)))
472
indices:=ImmutableArray.Create(Of BoundExpression)(statementFactory.
Literal
(spansIndex)))
Lowering\IteratorRewriter\IteratorRewriter.vb (2)
229
F.Assignment(F.Local(resultVariable, True), F.[New](StateMachineType.Constructor, F.
Literal
(0)))
330
F.[New](StateMachineType.Constructor.AsMember(frameType), F.
Literal
(initialState))))
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (10)
215
DirectCast(nodeFactory.
Literal
(-1), BoundExpression),
239
nodeFactory.
Literal
(s_activeHandler_FirstOnErrorResumeNextIndex)),
241
nodeFactory.
Literal
(s_activeHandler_ResumeNext),
284
ImmutableArray.Create(Of BoundExpression)(nodeFactory.
Literal
(E_INTERNALERROR)),
300
nodeFactory.
Literal
(0)),
349
nodeFactory.
Literal
(0)).ToStatement())
371
nodeFactory.
Literal
(newErrorHandlerIndex)).ToStatement())
410
nodeFactory.
Literal
(0)),
412
ImmutableArray.Create(Of BoundExpression)(nodeFactory.
Literal
(E_RESUMEWITHOUTERROR)),
423
nodeFactory.
Literal
(0)).ToStatement())
Lowering\SyntheticBoundNodeFactory.vb (2)
733
Dim boundCaseClause = New BoundSimpleCaseClause(_syntax,
Literal
(i), Nothing)
1039
Return New BoundArrayCreation(_syntax, ImmutableArray.Create(Of BoundExpression)(
Literal
(elements.Length)), boundArrayInit, arrayType)