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