Repository: reef Updated Branches: refs/heads/master 83e5e8667 -> a44cd58ea
[REEF-1496] Fix CoreCLR incompatibilities in Tang Tools This addressed the issue by * inserting GetTypeInfo() to get the full TypeInfo JIRA: [REEF-1496](https://issues.apache.org/jira/browse/REEF-1496) Pull Request: This closes #1078 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/a44cd58e Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/a44cd58e Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/a44cd58e Branch: refs/heads/master Commit: a44cd58eab27270f616e059d072e539070cb27cd Parents: 83e5e86 Author: inchiosa <[email protected]> Authored: Thu Jul 21 10:46:50 2016 -0700 Committer: Markus Weimer <[email protected]> Committed: Thu Jul 21 15:18:51 2016 -0700 ---------------------------------------------------------------------- lang/cs/Org.Apache.REEF.Tang.Tools/ClassHierarchyBuilder.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/a44cd58e/lang/cs/Org.Apache.REEF.Tang.Tools/ClassHierarchyBuilder.cs ---------------------------------------------------------------------- diff --git a/lang/cs/Org.Apache.REEF.Tang.Tools/ClassHierarchyBuilder.cs b/lang/cs/Org.Apache.REEF.Tang.Tools/ClassHierarchyBuilder.cs index ef43678..3cdd28e 100644 --- a/lang/cs/Org.Apache.REEF.Tang.Tools/ClassHierarchyBuilder.cs +++ b/lang/cs/Org.Apache.REEF.Tang.Tools/ClassHierarchyBuilder.cs @@ -19,6 +19,7 @@ using System; using System.Collections.Generic; using System.Globalization; using System.IO; +using System.Reflection; using Org.Apache.REEF.Common.Tasks; using Org.Apache.REEF.Examples.Tasks.HelloTask; using Org.Apache.REEF.Examples.Tasks.ShellTask; @@ -92,7 +93,7 @@ namespace Org.Apache.REEF.Tang.Tools private static string GetAssemblyName(Type type) { - return type.Assembly.GetName().Name; + return type.GetTypeInfo().Assembly.GetName().Name; } } }
