[Mono-bugs] [Bug 630053] New: CustomAttributeData.GetCustomAttributes is loading too aggresively

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 10 13:25:58 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=630053

http://bugzilla.novell.com/show_bug.cgi?id=630053#c0


           Summary: CustomAttributeData.GetCustomAttributes is loading too
                    aggresively
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: misc
        AssignedTo: rkumpera at novell.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


This blocks trunk MD compilation

mono gmcs.exe bug-0.cs -r:bug-0-lib.dll --mcs-debug 1

Could not load file or assembly 'bug-1-lib, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null' or one of its dependencies.
bug-0.cs(6,5): error CS0584: Internal compiler error: Could not load type 'X'
from assembly 'bug-0-lib, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null'.
Internal compiler error at bug-0.cs(5,17):: exception caught while emitting
MethodBuilder [Program::Main]

Unhandled Exception: System.TypeLoadException: Could not load type 'X' from
assembly 'bug-0-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
  at (wrapper managed-to-native)
System.MonoCustomAttrs:GetCustomAttributesDataInternal
(System.Reflection.ICustomAttributeProvider)
  at System.MonoCustomAttrs.GetCustomAttributesData (ICustomAttributeProvider
obj) [0x00000] in <filename unknown>:0 
  at System.Reflection.CustomAttributeData.GetCustomAttributes
(System.Reflection.MemberInfo target) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.ImportedMemberDefinition+AttributesBag.Read
(System.Reflection.MemberInfo mi) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.ImportedMemberDefinition.ReadAttributes () [0x00000] in
<filename unknown>:0 
  at Mono.CSharp.ImportedMemberDefinition.GetAttributeObsolete () [0x00000] in
<filename unknown>:0 
  at Mono.CSharp.MemberSpec.GetAttributeObsolete () [0x00000] in <filename
unknown>:0 
  at Mono.CSharp.Expression.ResolveAsTypeTerminal (IMemberContext ec, Boolean
silent) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.New.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in
<filename unknown>:0 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec,
ResolveFlags flags) [0x00000] in <filename unknown>:0

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list