Replies: 1 comment
-
This should be fine. The MemberCloner is intended to be used for making deep copies of members that are fully imported into the target module. It heavily relies on the ReferenceImporter to do so. As such, if references come from a different module and are not included in the cloner, it should always create new definition and reference objects for these. If the target module is the same as the source module, then many definitions and references will be reused. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, imagine I wanted to duplicate a
TypeDefinition
within a module and make some minor modifications. Would theMemberCloner
let me do that, or would the references get scuffed? This is unrelated to #281 (I use AsmResolver for multiple projects).Related: #93
Beta Was this translation helpful? Give feedback.
All reactions