Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Q:  VB is not case sensitive, C# is. When migrating controls we are preserving C# naming convention. For example the Calendar WPF control has a "Value" property. This control will replaced the VB6 MonthView. The latter has also a Value property working the same. So all is perfect. But in the VB code the property is accessed as "value" (lower "v").  Question : Is GM taking this case problem into account ? How ? and if not what is your advise ?

A: GM takes casing into account.

The case used in the C# is the case used in the declaration of the symbol, not in its use in the VB6.  The declarations come from the VB6 code for application symbols or from an IDF for COM API symbols.

If case needs to be changed from what was used on the source platform, that may be done using a refactor/rename command or by by adding a migName or migPattern attribute to the appropriate IDF element.

NOTE: Late bound symbol references are by definition disconnected from their declaration, so the case may not match what is expected.  However in the case of a late bound reference, the entire late expression will not be migrated and will probably be expressed using a CallByName or dynamic cast.

  • No labels