[Mono-bugs] [Bug 530961] New: Linker Missing: System.Collections.Generic.GenericComparer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 13 13:49:45 EDT 2009


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


           Summary: Linker Missing:
                    System.Collections.Generic.GenericComparer
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: gnorton at novell.com
        ReportedBy: jondick at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.6 Safari/532.0

Missing the System.Collections.Generic.GenericComparer from the linker.  This
is caused by using extending the SortedDictionary<K,V> in my own class (eg:
public class ChannelList : SortedDictionary<int, string> ).

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for NodeHelper --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Collections.Generic.Comparer`1 --->
System.MissingMethodException: Method not found: 'Default constructor not
found...ctor() of System.Collections.Generic.GenericComparer`1[[System.Int32,
mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
[0x00000] 
  at System.Activator.CreateInstance (System.Type type) [0x00000] 
  at System.Collections.Generic.Comparer`1[System.Int32]..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at
System.Collections.Generic.SortedDictionary`2+NodeHelper[System.Int32,xRadio.Radio.Channel]..cctor
() [0x00000] 
  --- End of inner exception stack trace ---
  at
System.Collections.Generic.SortedDictionary`2[System.Int32,xRadio.Radio.Channel]..ctor
(IComparer`1 comparer) [0x00000] 
  at
System.Collections.Generic.SortedDictionary`2[System.Int32,xRadio.Radio.Channel]..ctor
() [0x00000] 
  at xRadio.Radio.ChannelList..ctor () [0x00000] 
  at xRadio.Radio.Engine..ctor () [0x00000] 
  at xRadio.AppDelegate..ctor () [0x00000] 
  at (wrapper managed-to-native)
MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String
principalClassName, System.String delegateClassName) [0x00000] 
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args) [0x00000] 
  at xRadio.Application.Main (System.String[] args) [0x00000] 

Symbol file /Users/jonathan/Library/Application Support/iPhone
Simulator/User/Applications/126DD8A7-4BAA-446B-BD9F-F4FCDD55F295/xRadio.app/mscorlib.dll.mdb
doesn't match image /Users/jonathan/Library/Application Support/iPhone
Simulator/User/Applications/126DD8A7-4BAA-446B-BD9F-F4FCDD55F295/xRadio.app/mscorlib.dllSymbol
file /Users/jonathan/Library/Application Support/iPhone
Simulator/User/Applications/126DD8A7-4BAA-446B-BD9F-F4FCDD55F295/xRadio.app/xRadio.exe.mdb
doesn't match image /Users/jonathan/Library/Application Support/iPhone
Simulator/User/Applications/126DD8A7-4BAA-446B-BD9F-F4FCDD55F295/xRadio.app/xRadio.exeSymbol
file /Users/jonathan/Library/Application Support/iPhone
Simulator/User/Applications/126DD8A7-4BAA-446B-BD9F-F4FCDD55F295/xRadio.app/monotouch.dll.mdb
doesn't match image /Users/jonathan/Library/Application Support/iPhone
Simulator/User/Applications/126DD8A7-4BAA-446B-BD9F-F4FCDD55F295/xRadio.app/monotouch.dllSymbol
file /Users/jonathan/Library/Application Support/iPhone
Simulator/User/Applications/126DD8A7-4BAA-446B-BD9F-F4FCDD55F295/xRadio.app/System.dll.mdb
doesn't match image /Users/jonathan/Library/Application Support/iPhone
Simulator/User/Applications/126DD8A7-4BAA-446B-BD9F-F4FCDD55F295/xRadio.app/System.dll

Reproducible: Always

Steps to Reproduce:
1. Create a class derived from the SortedDictionary<K, V> and compile and run 

Actual Results:  
Linker Error

Expected Results:  
No Error

-- 
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