Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita3fbc84

Browse files
committed
minor cleanup
1 parente774040 commita3fbc84

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎src/runtime/Types/ClassDerived.cs‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ internal static Type CreateDerivedType(string name,
253253

254254

255255
// 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);
257257
}
258258

259259
// Add any additional methods and properties explicitly exposed from Python.
@@ -384,10 +384,8 @@ private static void AddConstructor(ConstructorInfo ctor, Type baseType, TypeBuil
384384
/// and calls it, otherwise fall back to the base class method.
385385
/// </summary>
386386
/// <param name="method">virtual method to be overridden</param>
387-
/// <param name="baseType">Python callable object</param>
388387
/// <param name="typeBuilder">TypeBuilder for the new type the method is to be added to</param>
389-
/// <param name="isDeclared"></param>
390-
privatestaticvoidAddVirtualMethod(MethodInfomethod,TypebaseType,TypeBuildertypeBuilder,boolisDeclared)
388+
privatestaticvoidAddVirtualMethod(MethodInfomethod,TypeBuildertypeBuilder)
391389
{
392390
ParameterInfo[]parameters=method.GetParameters();
393391
Type[]parameterTypes=(fromparaminparametersselectparam.ParameterType).ToArray();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp