public LongRunningAction FadeFrom(string colorName) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type CameraService.\u003C\u003Ec__DisplayClass6 cDisplayClass6 = new CameraService.\u003C\u003Ec__DisplayClass6(); Color color = Util.FromName(colorName); // ISSUE: reference to a compiler-generated field cDisplayClass6.component = new ScreenFade(ServiceHelper.Game) { FromColor = color, ToColor = new Color(new Vector4(color.ToVector3(), 0.0f)), Duration = 2f }; // ISSUE: reference to a compiler-generated field ServiceHelper.AddComponent((IGameComponent)cDisplayClass6.component); // ISSUE: reference to a compiler-generated method return(new LongRunningAction(new Func <float, float, bool>(cDisplayClass6.\u003CFadeFrom\u003Eb__5))); }
public LongRunningAction FadeFrom(string colorName) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type CameraService.\u003C\u003Ec__DisplayClass6 cDisplayClass6 = new CameraService.\u003C\u003Ec__DisplayClass6(); Color color = Util.FromName(colorName); // ISSUE: reference to a compiler-generated field cDisplayClass6.component = new ScreenFade(ServiceHelper.Game) { FromColor = color, ToColor = new Color(new Vector4(color.ToVector3(), 0.0f)), Duration = 2f }; // ISSUE: reference to a compiler-generated field ServiceHelper.AddComponent((IGameComponent) cDisplayClass6.component); // ISSUE: reference to a compiler-generated method return new LongRunningAction(new Func<float, float, bool>(cDisplayClass6.\u003CFadeFrom\u003Eb__5)); }