There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
tlbimp: /silence:WarningNumber behaves confusing
The warning number you specify is treated as hex number. However, the type library importer outputs the number as integer. So you can not just use the number from the output messages and suppress warnings by using the number with the /silence option without
having to convert them to hex before.
Suggested change: Change code in Tlbimp.cs line 453 from
int warningNumber = int.Parse(opt.Value, System.Globalization.NumberStyles.HexNumber);
int warningNumber = int.Parse(opt.Value, System.Globalization.NumberStyles.Integer);