QueryableCollectionView and ObservableItemCollection

2 posts, 0 answers
  1. Alexander
    Alexander avatar
    6 posts
    Member since:
    Apr 2012

    Posted 27 Dec 2012 Link to this post

    Hi.
    I use Silverlight 5. Server side is Win7, Client side is WinXP.
    On Client side don't work next code:

    var tmp = new QueryableCollectionView(new ObservableItemCollection<MyWrapper>());


    Message error:

    Attempt by method 'System.Linq.EnumerableQuery.Create(System.Type, System.Collections.IEnumerable)' to access method 'System.Linq.EnumerableQuery`1<System.__Cannon>..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>)' failed.

    On Client side with Win7 it work fine.

    Regards,
    Alexander
  2. Alexander
    Alexander avatar
    6 posts
    Member since:
    Apr 2012

    Posted 09 Jan 2013 Link to this post

    I find my error. MyWrapper class was internal class.
  3. DevCraft banner
Back to Top