Skip to content
This repository was archived by the owner on Jun 22, 2023. It is now read-only.

Commit 536f662

Browse files
committed
Only build our ICloneable if *we* need it.
1 parent 1780281 commit 536f662

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

GeoAPI/ICloneable.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
namespace GeoAPI
1+
#if !HAS_SYSTEM_ICLONEABLE
2+
namespace GeoAPI
23
{
34
/// <summary>
45
/// A framework replacement for the System.ICloneable interface.
@@ -11,4 +12,5 @@ public interface ICloneable
1112
/// <returns>A new object that is a copy of this instance.</returns>
1213
object Clone();
1314
}
14-
}
15+
}
16+
#endif

0 commit comments

Comments
 (0)