{
num = SafeNativeMethods.Gdip.GdipLoadImageFromStreamICM(new GPStream(stream), out zero);
}
else
{
num = SafeNativeMethods.Gdip.GdipLoadImageFromStream(new GPStream(stream), out zero);
}
if (num != 0)
{
throw SafeNativeMethods.Gdip.StatusException(num);
}
if (validateImage...