https://bugzilla.novell.com/show_bug.cgi?id=439766


           Summary: NullReferenceException in the method GetTypeRefFromSig
                    of class ReflectionReader
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Cecil
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@lists.ximian.com
          Found By: Component Test


Mono.Cecil ver 0.6
class ReflectionReader
method GetTypeRefFromSig

switch( t.ElementType )
{
..
  case ElementType.ValueType:
  VALUETYPE vt = t as VALUETYPE;
  TypeReference vtr = GetTypeDefOrRef( vt.Type, context );
  vtr.IsValueType = true;
  return vtr;
..


Sometimes GetTypeDefOrRef() returns null and the next line:
vtr.IsValueType = true;
produce NullReferenceException


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to