public SynthesizedFieldSymbolBase StateMachineField(TypeSymbol fieldType, string name, int iteratorLocalIndex)
        {
            var result = new StateMachineHoistedLocalSymbol(CurrentClass, fieldType, name, iteratorLocalIndex);

            AddField(CurrentClass, result);
            return(result);
        }
 public SynthesizedFieldSymbolBase StateMachineField(TypeSymbol fieldType, string name, int iteratorLocalIndex)
 {
     var result = new StateMachineHoistedLocalSymbol(CurrentClass, fieldType, name, iteratorLocalIndex);
     AddField(CurrentClass, result);
     return result;
 }