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)
342
F.Assignment(F.Field(F.This(), stateField), F.
Literal
(stateNumber)),
346
F.Assignment(F.Field(F.This(), stateField), F.
Literal
(_currentFinallyFrame.finalizeState)));
411
F.Assignment(F.Field(F.This(), stateField), F.
Literal
(frame.parent.finalizeState)),
429
bodyStatements.Add(F.Assignment(F.Field(F.This(), stateField), F.
Literal
(frame.finalizeState)));
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
938
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)
429
BoundStatement makeIterator = F.Assignment(F.Local(resultVariable), F.New(stateMachineType.Constructor, F.
Literal
(initialState)));
516
F.Assignment(F.Field(F.This(), stateField), F.
Literal
(initialState)));