You've already forked linux-packaging-mono
Imported Upstream version 5.12.0.220
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
parent
8bd104cef2
commit
8fc30896db
@ -96,7 +96,19 @@ public class Driver
|
||||
Console.WriteLine ("Generating serializer for the following types:");
|
||||
|
||||
if (types == null) {
|
||||
foreach (Type t in asm.GetTypes ()) {
|
||||
Type [] types;
|
||||
|
||||
try {
|
||||
types = asm.GetTypes ();
|
||||
} catch (ReflectionTypeLoadException tle){
|
||||
Console.WriteLine ($"There was an error loading one or more of the types from the referenced assembly {assembly}");
|
||||
foreach (var le in tle.LoaderExceptions){
|
||||
Console.WriteLine (le);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
foreach (Type t in types){
|
||||
try {
|
||||
maps.Add (imp.ImportTypeMapping (t));
|
||||
userTypes.Add (t);
|
||||
|
Reference in New Issue
Block a user