[Mono-bugs] [Bug 336258] [Flow-analysis] of switch statement inside anonymous method is broken
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Nov 2 17:16:11 EDT 2010
https://bugzilla.novell.com/show_bug.cgi?id=336258
https://bugzilla.novell.com/show_bug.cgi?id=336258#c8
James Bellinger <xocotl at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xocotl at gmail.com
--- Comment #8 from James Bellinger <xocotl at gmail.com> 2010-11-02 21:16:09 UTC ---
I ran into this as well in my code:
mAnimation = new SimpleAnimation("bitmap", frameCount,
(float)entry.KeyframeDelay / 1000, false,
frame => rectangleRefs[frame],
frame => entry.Sound[frame] != 0 ? "sound_" + frame.ToString()
: null,
frame =>
{
switch (entry.SpecialEffectID[frame])
{
case 2: return ColorMatrix.AlphaBlend((float)(255 -
entry.SpecialEffectParameter[frame]) / 255);
case 3: return ColorMatrix.Additive(1);
default: return ColorMatrix.Identity;
}
},
frame => new Point(entry.XOffset[frame],
entry.YOffset[frame]));
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list