You've already forked linux-packaging-mono
Imported Upstream version 6.12.0.154
Former-commit-id: 4110a97c739003f763b0c5b8a1561339cda7cda3
This commit is contained in:
parent
cb227eef93
commit
4651b7ea22
@ -192,14 +192,20 @@ namespace System.Reflection
|
||||
override
|
||||
object[] GetCustomAttributes (bool inherit)
|
||||
{
|
||||
return MonoCustomAttrs.GetCustomAttributes (this, inherit);
|
||||
// It is documented that the inherit flag is ignored.
|
||||
// Attribute.GetCustomAttributes is to be used to search
|
||||
// inheritance chain.
|
||||
return MonoCustomAttrs.GetCustomAttributes (this, false);
|
||||
}
|
||||
|
||||
public
|
||||
override
|
||||
object[] GetCustomAttributes (Type attributeType, bool inherit)
|
||||
{
|
||||
return MonoCustomAttrs.GetCustomAttributes (this, attributeType, inherit);
|
||||
// It is documented that the inherit flag is ignored.
|
||||
// Attribute.GetCustomAttributes is to be used to search
|
||||
// inheritance chain.
|
||||
return MonoCustomAttrs.GetCustomAttributes (this, attributeType, false);
|
||||
}
|
||||
|
||||
internal object GetDefaultValueImpl (ParameterInfo pinfo)
|
||||
|
Reference in New Issue
Block a user