private void InternListLinetypeDashes(ref int rlngIdx, AcadLineType vobjAcadLineType) { AcadLineTypeDashes dobjAcadLineTypeDashes2 = vobjAcadLineType.Dashes; IEnumerator enumerator = default(IEnumerator); AcadLineTypeDash dobjAcadLineTypeDash2; try { enumerator = dobjAcadLineTypeDashes2.GetValues().GetEnumerator(); while (enumerator.MoveNext()) { dobjAcadLineTypeDash2 = (AcadLineTypeDash)enumerator.Current; AcadLineTypeDash acadLineTypeDash = dobjAcadLineTypeDash2; InternAddToDictLine(ref rlngIdx, 49, RuntimeHelpers.GetObjectValue(acadLineTypeDash.Length)); int dlngCode74 = acadLineTypeDash.Flags74; InternAddToDictLine(ref rlngIdx, 74, dlngCode74); if (dlngCode74 > 0) { InternAddToDictLine(ref rlngIdx, 75, acadLineTypeDash.ShapeNumber); InternAddToDictLine(ref rlngIdx, 340, acadLineTypeDash.ShapeStyle); InternAddToDictLine(ref rlngIdx, 46, RuntimeHelpers.GetObjectValue(acadLineTypeDash.ShapeScale)); InternAddToDictLine(ref rlngIdx, 50, RuntimeHelpers.GetObjectValue(acadLineTypeDash.ShapeRotationDegree)); InternAddToDictLine(ref rlngIdx, 44, RuntimeHelpers.GetObjectValue(acadLineTypeDash.ShapeOffsetX)); InternAddToDictLine(ref rlngIdx, 45, RuntimeHelpers.GetObjectValue(acadLineTypeDash.ShapeOffsetY)); } if ((2 & dlngCode74) == 2) { InternAddToDictLine(ref rlngIdx, 9, acadLineTypeDash.Text); } acadLineTypeDash = null; } } finally { if (enumerator is IDisposable) { (enumerator as IDisposable).Dispose(); } } dobjAcadLineTypeDash2 = null; dobjAcadLineTypeDashes2 = null; }