From 8399927878bf1b1bec48600be395f9c5a123fd83 Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期二, 02 二月 2021 17:13:34 +0800
Subject: [PATCH] 9527 ilruntiem

---
 Assets/IFix/Editor/Configure.cs |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/Assets/IFix/Editor/Configure.cs b/Assets/IFix/Editor/Configure.cs
index 413f449..2e950d2 100644
--- a/Assets/IFix/Editor/Configure.cs
+++ b/Assets/IFix/Editor/Configure.cs
@@ -30,10 +30,20 @@
             get
             {
                 return (from type in Assembly.Load("Assembly-CSharp").GetTypes()
-                        where type.Namespace == null || (!type.Namespace.StartsWith("XLua") && !type.Namespace.StartsWith("IFix"))
+                        where type.Namespace == null ||
+                         (!type.Namespace.StartsWith("XLua") &&
+                         !type.Namespace.StartsWith("IFix") &&
+                         type.Namespace != "ILRuntime.Runtime.Generated")
                         select type);
             }
         }
+
+        [Filter]
+        static bool Filter(System.Reflection.MethodInfo methodInfo)
+        {
+            return methodInfo.DeclaringType.FullName == "Test"
+                && (methodInfo.Name == "Div" || methodInfo.Name == "Mult");
+        }
     }
 
     //鏀剧疆閰嶇疆鐨�

--
Gitblit v1.8.0