Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To make things more interesting this Declare was in a module that was shared throughout the system;  the declaration is being moved into a host project using the Shared

Code Block

<Compile Condition="%SrcName%=='AppCommon'">
   <Refactor>
      <Migrate id="GlobalDeclarations.Sleep" nPram="2" migName="System.Threading.Sleep" migStatus="external" />
   </Refactor>
</Compile>

Changes the calls in AppCommon as expected

...

Code Block
FromCode\AppCommon.dll.xml

      <method id="Sleep" migName="System.Threading.Sleep" type="Void">
         <argument id="dwMilliseconds" type="Integer" status="ByVal"/>
      </method>

The IDF change makes migName attribute alters calls made to the migrationmethod inthe all codes that reference the AppCommon .DLL.

Note that in this case, a "migrated" declaration is authored in the generated DLL code; it must be removed with an Author\Fix.

...