List<>在msdn中对于thread safety的描述It is safe to perform multiple read operations on a List<T>, but issues can occur if the collection is modified while it’s being read. To ensure thread safety, lock the collection during a read or write operation. To enable a collection to be accessed by multiple threads for reading and writing, you must implement your own synchronization. For collections with built-in synchronization, see the classes in the System.Collections.Concurrent namespace. For an inherently thread–safe alternative, see the ImmutableList class.来自: http://msdn.microsoft.com/en-us/library/6sh2ey19(v=vs.110).aspx
参数名: index
在 System.Collections.Generic.List`1.Insert(Int32 index, T item)
在 Hyun.Entities.ListBase`1.ApplyFilter()
在 Hyun.WebService.MainWebService.HasPermission(Result r)
-----------------------
2014-10-23 09:08:54-rolePermissionList.ApplyFilter:System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Hyun.WebService.MainWebService.<>c__DisplayClass2.<HasPermission>b__0(VRolePermissionList rp)
在 Hyun.Entities.ListBase`1.ApplyFilter(Predicate`1 match)
在 Hyun.WebService.MainWebService.HasPermission(Result r)
http://msdn.microsoft.com/en-us/library/6sh2ey19(v=vs.110).aspx