Thanks to visit codestin.com Credit goes to github.com
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 b6421e9 commit 6cd7bd4Copy full SHA for 6cd7bd4
src/runtime/methodbinder.cs
@@ -203,11 +203,11 @@ static PyArgConverterAttribute TryGetArgConverter(Type type) {
203
204
return ArgConverterCache.GetOrAdd(type, declaringType =>
205
declaringType
206
- .GetCustomAttributes(typeof(PyArgConverterAttribute), inherit: false)
+ .GetCustomAttributes(typeof(PyArgConverterAttribute), inherit: true)
207
.OfType<PyArgConverterAttribute>()
208
.SingleOrDefault()
209
?? declaringType.Assembly
210
211
212
213
);
0 commit comments