[EXaml] Remove unused code
authorFang Xiaohui <xiaohui.fang@samsung.com>
Fri, 3 Sep 2021 07:17:00 +0000 (15:17 +0800)
committerhuiyu <35286162+huiyueun@users.noreply.github.com>
Tue, 7 Sep 2021 09:05:39 +0000 (18:05 +0900)
src/Tizen.NUI/src/internal/EXaml/LoadEXaml.cs
src/Tizen.NUI/src/internal/EXaml/Operation/GatherType.cs

index 3c223cb..17fcd87 100755 (executable)
@@ -30,7 +30,6 @@ namespace Tizen.NUI.EXaml
 
             foreach (char c in xaml)
             {
-                Console.Write(c);
                 currentAction = currentAction.DealChar(c);
             }
 
index 0ece046..ee2b4d9 100755 (executable)
@@ -44,27 +44,6 @@ namespace Tizen.NUI.EXaml
             var assembly = globalDataList.GatheredAssemblies[assemblyIndex];
             var type = assembly.GetType(typeName);
 
-            if (null != genericTypeIndexs_bak)
-            {
-                Type[] args = new Type[genericTypeIndexs_bak.Count];
-
-                for (int i = 0; i < genericTypeIndexs_bak.Count; i++)
-                {
-                    int typeIndex = genericTypeIndexs_bak[i];
-
-                    if (typeIndex >= 0)
-                    {
-                        args[i] = globalDataList.GatheredTypes[typeIndex];
-                    }
-                    else
-                    {
-                        args[i] = GetBaseType.GetBaseTypeByIndex(typeIndex);
-                    }
-                }
-
-                type = type.MakeGenericType(args);
-            }
-
             if (null != genericTypeIndexs)
             {
                 Type[] args = new Type[genericTypeIndexs.Count];
@@ -91,7 +70,6 @@ namespace Tizen.NUI.EXaml
 
         private int assemblyIndex;
         private string typeName;
-        private List<int> genericTypeIndexs_bak;
         private List<object> genericTypeIndexs;
     }
 }