Update mcs/class/System.Core/System/TimeZoneInfo.cs
[mono.git] / mcs / class / IKVM.Reflection / Reader / AssemblyReader.cs
index 5850d7b8af5af94760a42d44f7342bdff369b861..0004862ee09960b9ee373802c97ef8d7b2a1c465 100644 (file)
@@ -271,7 +271,7 @@ namespace IKVM.Reflection.Reader
 
                internal override IList<CustomAttributeData> GetCustomAttributesData(Type attributeType)
                {
-                       return manifestModule.GetCustomAttributes(0x20000001, attributeType);
+                       return CustomAttributeData.GetCustomAttributesImpl(null, manifestModule, 0x20000001, attributeType) ?? CustomAttributeData.EmptyList;
                }
        }
 }