public void Rotate2(AxMap pMap, PointF rootPt, double degree) { float num; float num2; pMap.ConvertCoord(ref num, ref num2, ref this.m_GocX, ref this.m_GocY, ConversionConstants.miMapToScreen); num -= rootPt.X; num2 -= rootPt.Y; PointF rootPt2 = default(PointF); rootPt2.X = num; rootPt2.Y = num2; try { IEnumerator enumerator = this.m_GObjs.GetEnumerator(); while (enumerator.MoveNext()) { GraphicObject graphicObject = (GraphicObject)enumerator.Current; graphicObject.Rotate2(rootPt2, degree); } } finally { IEnumerator enumerator; if (enumerator is IDisposable) { (enumerator as IDisposable).Dispose(); } } }