fix InvalidCastException in CSharpAmbience
fix DebuggerProcessEntityContext: each IEntityModelContext needs a specific main or current assembly.