if (arg == null)
ReportMissingArgument (opt);
try {
- int val = Int32.Parse (arg);
+ string realArg = arg;
+ if (realArg.StartsWith ("0x"))
+ realArg = realArg.Substring (2);
+ uint val = Convert.ToUInt32 (realArg, 16);
AddCattr (typeof (AssemblyAlgorithmIdAttribute), typeof (uint), val);
}
catch (Exception) {
if (arg == null)
ReportMissingArgument (opt);
try {
- int val = Int32.Parse (arg);
+ string realArg = arg;
+ if (realArg.StartsWith ("0x"))
+ realArg = realArg.Substring (2);
+ uint val = Convert.ToUInt32 (realArg, 16);
AddCattr (typeof (AssemblyFlagsAttribute), typeof (uint), val);
}
catch (Exception) {
+2005-03-01 Zoltan Varga <vargaz@freemail.hu>
+
+ * Al.cs: Algid and Flags should be specified in hexadecimal. Fixes
+ #72282.
+
2005-01-30 Zoltan Varga <vargaz@freemail.hu>
* Al.cs: Fix spitting of newlines.