diff --git a/src/CAD/IFox.CAD.Shared/ExtensionMethod/Entity/EntityBoundingInfo.cs b/src/CAD/IFox.CAD.Shared/ExtensionMethod/Entity/EntityBoundingInfo.cs index fb3d5fafd38f9b2d97011691afdd366d4fec7f07..a9227a0ee85e20357d1c110e314dca5d8d8fb46a 100644 --- a/src/CAD/IFox.CAD.Shared/ExtensionMethod/Entity/EntityBoundingInfo.cs +++ b/src/CAD/IFox.CAD.Shared/ExtensionMethod/Entity/EntityBoundingInfo.cs @@ -124,7 +124,7 @@ public static BoundingInfo GetBoundingInfo(Entity ent) { return new(ent.GeometricExtents.MinPoint, ent.GeometricExtents.MaxPoint, true); } - catch (Exception e) { } + catch { } return new(Point3d.Origin, Point3d.Origin, false); } diff --git a/src/CAD/IFox.CAD.Shared/ExtensionMethod/SymbolTableRecordEx.cs b/src/CAD/IFox.CAD.Shared/ExtensionMethod/SymbolTableRecordEx.cs index e40a5a26abaed79ed618a6a1675e1356abc87c1c..4cf04362dcfd0e9acdb614b83193fca9bad15de7 100644 --- a/src/CAD/IFox.CAD.Shared/ExtensionMethod/SymbolTableRecordEx.cs +++ b/src/CAD/IFox.CAD.Shared/ExtensionMethod/SymbolTableRecordEx.cs @@ -40,7 +40,7 @@ public static void DeepCloneEx(this BlockTableRecord btr, ObjectIdCollection obj // foreach (ObjectId item in blockIds) // result.Add(mapping[item].Value); } - catch (System.Exception e) + catch { }