9 references to Literal
Microsoft.CodeAnalysis.CSharp (9)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (1)
670
F.Assignment(F.Field(F.This(), stateField), F.
Literal
(initialState)));
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (4)
336
F.Assignment(F.Field(F.This(), stateField), F.
Literal
(stateNumber)),
340
F.Assignment(F.Field(F.This(), stateField), F.
Literal
(_currentFinallyFrame.finalizeState)));
405
F.Assignment(F.Field(F.This(), stateField), F.
Literal
(frame.parent.finalizeState)),
423
bodyStatements.Add(F.Assignment(F.Field(F.This(), stateField), F.
Literal
(frame.finalizeState)));
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
920
return F.Assignment(F.Field(F.This(), stateField), F.AssignmentExpression(F.Local(cachedState), F.
Literal
(stateNumber)));
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (1)
94
f.
Literal
(_firstState)),
Lowering\StateMachineRewriter\StateMachineRewriter.cs (2)
425
BoundStatement makeIterator = F.Assignment(F.Local(resultVariable), F.New(stateMachineType.Constructor, F.
Literal
(initialState)));
512
F.Assignment(F.Field(F.This(), stateField), F.
Literal
(initialState)));