+2006-07-28 Raja R Harinath <rharinath@novell.com>
+
+ * class.cs (TypeContainer.AddMemberType): Rename from
+ AddToTypeContainer.
+ (TypeContainer.AddMember): Rename from AddToMemberContainer.
+ (AddTypeContainer): New. Combine AddClassOrStruct and
+ AddInterface.
+ (AddPartial): Update. Add 'is_partial' argument.
+ * roottypes.cs: Update to changes.
+ * cs-parser.jay (push_current_class): New helper for handling
+ current_container and current_class.
+ (struct_declaration, interface_declaration, class_declaration):
+ Use it.
+
+2006-07-26 Raja R Harinath <rharinath@novell.com>
+
+ * roottypes.cs: Rename from tree.cs.
+
+ Rename RootContext.Tree.Types to RootContext.ToplevelTypes.
+ * tree.cs (Tree, ITreeDump): Remove types.
+ * rootcontext.cs (tree, Tree): Remove fields.
+ (root, ToplevelTypes): New.
+ * *.cs: Update to rename.
+
+ * tree.cs (Tree.RecordDecl): Remove.
+ (RootTypes.AddToTypeContainer): Record the toplevel type in its
+ namespace here.
+ * class.cs, cs-parser.jay: Remove mention of RecordDecl.
+
+2006-07-23 Raja R Harinath <harinath@gmail.com>
+
+ * codegen.cs (EmitContext.Flags): Move InCatch, InFinally,
+ DoFlowAnalysis and OmitStructFlowAnalysis here.
+ (ec.With): Rename from WithUnsafe and generalize.
+ (ec.WithCheckState): Remove. All users can be handled by 'With'.
+ (ec.WithFlowAnalyis): New.
+ * ecore.cs, expression.cs, statement.cs: Update.
+
+2006-07-22 Raja R Harinath <harinath@gmail.com>
+
+ * statement.cs (Block.ResolveMeta): Simplify slightly.
+
+ * codegen.cs (EmitContext.Flags): New enum. Used to represent the
+ multiple boolean fields. Convert InUnsafe, constant_check_state,
+ check_state to flags.
+ (CheckState, ConstantCheckState): Update.
+ (InUnsafe): New read-only property.
+ (FlagsHandle): Rename from CheckStateHandle and convert to handle
+ arbitrary flags.
+ (WithUnsafe): New helper similar to WithCheckState.
+ * statement.cs (Block.ResolveMeta): Use WithUnsafe.
+ (Unsafe.Resolve, Unsafe.DoEmit): Likewise.
+
+2006-07-21 Raja R Harinath <rharinath@novell.com>
+
+ Make comparisons use the same IL irrespective of whether they're
+ in a 'checked' or 'unchecked' context: one of the issues in #78899
+ * codegen.cs (EmitContext.CheckState): Make read-only property.
+ (EmitContext.ConstantCheckState): Likewise.
+ (EmitContext.CheckStateHandle, EmitContext.WithCheckState): New
+ helper that implement a save/restore stack for CheckState
+ values. This is the only way to change check-state.
+ * ecore.cs (Expression.ExpressionToArrayArgument): Use WithCheckState.
+ * expression.cs (CheckedExpr.DoResolve, CheckedExpr.Emit): Likewise.
+ (CheckedExpr.EmitBranchable): New forwarding method.
+ (UnCheckedExpr): Likewise.
+ * statement.cs (Block.ResolveMeta): Use WithCheckState.
+ (Unchecked.Resolve, Unchecked.DoEmit): Likewise.
+ (Checked.Resolve, checked.DoEmit): Likewise.
+
+2006-07-21 Martin Baulig <martin@ximian.com>
+
+ * generic.cs (TypeManager.InferType): When inferring an array
+ type, also allow IList<T> and ICollection<T>. Fixes #78900.
+
2006-07-21 Martin Baulig <martin@ximian.com>
* generic.cs (TypeManager.IsIEnumerable): Renamed into IsIList()