You've already forked linux-packaging-mono
Imported Upstream version 6.12.0.86
Former-commit-id: 7a84ce7d08c42c458ac8e74b27186ca863315d79
This commit is contained in:
parent
92747312ea
commit
0b380204a4
@ -67,7 +67,7 @@ namespace System
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.InternalCall)]
|
||||
internal static extern object[] GetCustomAttributesInternal (ICustomAttributeProvider obj, Type attributeType, bool pseudoAttrs);
|
||||
internal static extern Attribute[] GetCustomAttributesInternal (ICustomAttributeProvider obj, Type attributeType, bool pseudoAttrs);
|
||||
|
||||
internal static object[] GetPseudoCustomAttributes (ICustomAttributeProvider obj, Type attributeType) {
|
||||
object[] pseudoAttrs = null;
|
||||
@ -134,7 +134,7 @@ namespace System
|
||||
if (!inheritedOnly) {
|
||||
object[] pseudoAttrs = GetPseudoCustomAttributes (obj, attributeType);
|
||||
if (pseudoAttrs != null) {
|
||||
object[] res = new object [attrs.Length + pseudoAttrs.Length];
|
||||
object[] res = new Attribute [attrs.Length + pseudoAttrs.Length];
|
||||
System.Array.Copy (attrs, res, attrs.Length);
|
||||
System.Array.Copy (pseudoAttrs, 0, res, attrs.Length, pseudoAttrs.Length);
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user