SYMPTOMS
When you use the ILASM utility to generate a portable executable (PE) file from the Microsoft intermediate language (MSIL) assembly language, you receive the following error message:
error : syntax error at token 'int16' in: .field public
marshal( fixed array [20] int16) int16[] ident
This problem typically occurs when you specify an
ArraySubType parameter in the
MarshalAs attribute for the application.
RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
Note You must have a Visual Studio license agreement to obtain this hotfix.
To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
Prerequisites
You must have the Microsoft .NET Framework 1.1 installed to apply this hotfix.
Restart requirement
You do not have to restart your computer after you apply this hotfix.
Hotfix replacement information
This hotfix is not replaced by any later hotfix.
Hotfix file information
This hotfix contains only the files that are required to
correct the issues that this article describes. This hotfix may not contain of all
the files that you must have to fully update a product to the latest build.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the
Time Zone tab in the Date and Time item in Control Panel.
|
Ilasm.exe | 1.1.4322.2367 | 196,608 | 09-Jun-2006 | 07:49 | x86 |
REFERENCES
For more information about the Microsoft Intermediate Language (MSIL), visit the following
Microsoft Web site:
For
more information about the ILASM utility, visit the following Microsoft Web
site:
For
more information about the ILDASM utility, visit the following Microsoft Web
site: