I am working through the book, which is written in VB
(ASP.NET 3.5 Website Programming Problem - Design - Solution
). The source could in C# that I have downloaded has the following line in the SiteMapEntities class:
List<ObjectStateEntry> typeEntries = this.ObjectStateManager.GetObjectStateEntries(Enti tyState.Modified | EntityState.Added).Where<ObjectStateEntry>(new Func<ObjectStateEntry, bool>(SiteMapEntities._Lambda$__13
The problem is two fold; First I get the error Unexpected character'$' and also, SiteMapEntities does not have a method _Lambda$__13. This is hard to figure out, as the C# code is quite different to the VB
code and I am unable to figure out what this should be.