We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c94228 commit 44e089aCopy full SHA for 44e089a
src/runtime/indexer.cs
@@ -64,7 +64,7 @@ internal bool NeedsDefaultArgs(IntPtr args)
64
return false;
65
}
66
67
- var mi = methods[0].MethodBase.UnsafeValue;
+ var mi = methods[0].MethodBase;
68
ParameterInfo[] pi = mi.GetParameters();
69
// need to subtract one for the value
70
int clrnargs = pi.Length - 1;
@@ -100,7 +100,7 @@ internal IntPtr GetDefaultArgs(IntPtr args)
100
101
// Get the default arg tuple
102
var methods = SetterBinder.GetMethods();
103
104
105
106
IntPtr defaultArgs = Runtime.PyTuple_New(clrnargs - pynargs);
0 commit comments