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