Merge pull request #2488 from nealef/master
[mono.git] / mcs / class / corlib / System.Reflection / CustomAttributeData.cs
index 6c12b105b33b6845a21979e2e8f7b3498cf0693e..d884714401b27c3fcad2e58eacdde330a594f1aa 100644 (file)
@@ -119,6 +119,10 @@ namespace System.Reflection {
                        return MonoCustomAttrs.GetCustomAttributesData (target);
                }
 
+               internal static IList<CustomAttributeData> GetCustomAttributesInternal (RuntimeType target) {
+                       return MonoCustomAttrs.GetCustomAttributesData (target);
+               }
+
                public static IList<CustomAttributeData> GetCustomAttributes (Module target) {
                        return MonoCustomAttrs.GetCustomAttributesData (target);
                }
@@ -133,6 +137,8 @@ namespace System.Reflection {
 
                public override string ToString ()
                {
+                       ResolveArguments ();
+
                        StringBuilder sb = new StringBuilder ();
 
                        sb.Append ("[" + ctorInfo.DeclaringType.FullName + "(");