Imported Upstream version 4.6.0.125

Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-03 10:59:49 +00:00
parent a569aebcfd
commit e79aa3c0ed
17047 changed files with 3137615 additions and 392334 deletions

View File

@@ -1,15 +0,0 @@
2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
* sgen.cs : handle /t option correctly. Exception handling.
Patch by siokoshou ( http://d.hatena.ne.jp/siokoshou ).
2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
* sgen.cs : some fixes.
- catch Assembly.LoadFrom() errors.
- command line options were working only with /, not with --.
- --type (/t) are to limit target types, so skip non-target types.
2004-07-10 Lluis Sanchez Gual <lluis@novell.com>
* sgen.cs, Makefile, sgen.exe.sources: New files

View File

@@ -2,7 +2,8 @@ thisdir = tools/sgen
SUBDIRS =
include ../../build/rules.make
LOCAL_MCS_FLAGS = -r:System.Xml.dll
LOCAL_MCS_FLAGS =
LIB_REFS = System.Xml System
PROGRAM = sgen.exe
include ../../build/executable.make

View File

@@ -110,6 +110,9 @@ public class Driver
Console.WriteLine (" - Warning: ignoring '" + t + "'");
Console.WriteLine (" " + ex.Message);
}
} catch (NotSupportedException ex) {
if (verbose)
Console.WriteLine (" - Warning: " + ex.Message);
}
}
} else {
@@ -128,6 +131,9 @@ public class Driver
Console.WriteLine (" - Warning: ignoring '" + type + "'");
Console.WriteLine (" " + ex.Message);
}
} catch (NotSupportedException ex) {
if (verbose)
Console.WriteLine (" - Warning: " + ex.Message);
}
}
}