You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.223
Former-commit-id: 9eba2bb75f91b7cb7f76436c5ff4d4ff3be9a078
This commit is contained in:
parent
c7eefea598
commit
32d52ae4ca
@ -106,7 +106,10 @@ namespace System {
|
||||
var method = ((MethodInfo) member).GetBaseMethod ();
|
||||
|
||||
while (true) {
|
||||
var param = method.GetParametersInternal () [parameter.Position];
|
||||
var parameters = method.GetParametersInternal ();
|
||||
if (parameters?.Length == 0 || parameter.Position < 0)
|
||||
return false;
|
||||
var param = parameters [parameter.Position];
|
||||
if (param.IsDefined (attributeType, false))
|
||||
return true;
|
||||
|
||||
|
Reference in New Issue
Block a user