| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -253,7 +253,7 @@ internal static Type CreateDerivedType(string name, | |||
| 253 | 253 | ||
| 254 | 254 | ||
| 255 | 255 | // override the virtual method to call out to the python method, if there is one. | |
| 256 | - AddVirtualMethod(method, baseType, typeBuilder, isDeclared); | ||
| 256 | + AddVirtualMethod(method, typeBuilder); | ||
| 257 | 257 | } | |
| 258 | 258 | ||
| 259 | 259 | // Add any additional methods and properties explicitly exposed from Python. | |
@@ -384,10 +384,8 @@ private static void AddConstructor(ConstructorInfo ctor, Type baseType, TypeBuil | |||
| 384 | 384 | /// and calls it, otherwise fall back to the base class method. | |
| 385 | 385 | /// </summary> | |
| 386 | 386 | /// <param name="method">virtual method to be overridden</param> | |
| 387 | - /// <param name="baseType">Python callable object</param> | ||
| 388 | 387 | /// <param name="typeBuilder">TypeBuilder for the new type the method is to be added to</param> | |
| 389 | - /// <param name="isDeclared"></param> | ||
| 390 | - private static void AddVirtualMethod(MethodInfo method, Type baseType, TypeBuilder typeBuilder, bool isDeclared) | ||
| 388 | + private static void AddVirtualMethod(MethodInfo method, TypeBuilder typeBuilder) | ||
| 391 | 389 | { | |
| 392 | 390 | ParameterInfo[] parameters = method.GetParameters(); | |
| 393 | 391 | Type[] parameterTypes = (from param in parameters select param.ParameterType).ToArray(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments