Fix #77200.
[mono.git] / mcs / mcs / ChangeLog
index ab544e87430e40b7821b59d18c86a653cf019334..fa18e7b046b4763c1d1d9e992cbea489255e200c 100644 (file)
@@ -1,3 +1,151 @@
+2006-01-11  Raja R Harinath  <rharinath@novell.com>
+
+       Fix #77200.
+       * cfold.cs (BinaryFold): Implement folding of BinaryOr, BinaryAnd
+       and ExclusiveOr for boolean constants too.
+
+2006-01-09  Raja R Harinath  <rharinath@novell.com>
+
+       Fix #75636.
+       * expression.cs (Invocation.OverloadResolve): Replace reflected
+       override methods with their base virtual methods, rather than
+       skipping over them.
+       * typemanager.cs (TypeManager.GetOverride): New.
+
+2006-01-05  Jb Evain  <jbevain@gmail.com>
+
+       * class.cs (Property.Define, Indexer.Define): do not tag the
+       properties as SpecialName | RTSpecialName.
+
+2006-01-04  Miguel de Icaza  <miguel@novell.com>
+
+       * class.cs (MethodCore.IsDuplicateImplementation): This method was
+       doing a low-level comparission of parameter types.  It was lacking
+       a check for __argslist. 
+
+2005-12-30  Miguel de Icaza  <miguel@novell.com>
+
+       * expression.cs (ParameterReference.DoResolveBase): Allow
+       reference parameters if they are local to this block. 
+
+       This allows the ref and out parameters of a delegate to be used in
+       an anonymous method, for example:
+
+       delegate void set (out int x);
+
+       set s = delegate (out int x){
+               x = 0;
+       };
+
+       This is used by functionality introduced late in the C# language.
+       
+       * anonymous.cs (AnonymousMethod.Compatible): Allow anonymous
+       method that take ref and out parameters. 
+
+       Fixes #77119 which was a late change in the spec.
+
+2005-12-23  Miguel de Icaza  <miguel@novell.com>
+
+       * anonymous.cs (ScopeInfo.LinkScope): Do not link the scope to its
+       parent if its the same scope.  Fixes #77060.
+
+2005-12-21  Miguel de Icaza  <miguel@novell.com>
+
+       * driver.cs: Report the case of no source files and no -out:
+       argument provided.
+
+2005-12-20  Raja R Harinath  <rharinath@novell.com>
+
+       Fix #77035.
+       * expression.cs (ComposedCast.GetSignatureForError): Define.
+
+2005-12-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       Fix #76995
+
+       * namespace.cs (NamespaceEntry): Add extern_aliases as a
+       ListDictionary, to contain the ExternAliasEntry entries (in
+       addition to the NamespaceEntry.aliases hashtable). This field is
+       shared between the original entry and its doppelganger (bodyless 
+       copy of it).
+       (NamespaceEntry.UsingExternalAlias): Add the extern alias entry to
+       extern_aliases field.
+       (NamespaceEntry.Lookup): Move the IsImplicit check after the
+       lookup in extern_aliases.
+
+2005-12-16  Raja R Harinath  <rharinath@novell.com>
+
+       Fix #77006.
+       * class.cs (TypeContainer.Mark_HasEquals): New.
+       (TypeContainer.Mark_HasGetHashCode): New.
+       (ClassPart): Override them.
+       (MethodCore.CheckBase): Use them instead of referring to Parent.Methods.
+
+       Fix #77008.
+       * enum.cs (EnumMember.EnumMember): Pass the parent_enum as the
+       'parent' argument to the base constructor.
+
+       Remove all mention of TypeContainer from decl.cs.
+       * decl.cs (MemberCore.Parent): Change into a DeclSpace.
+       (MemberCore.MemberCore): Change type of 'parent' argument to DeclSpace.
+       (DeclSpace.DeclSpace): Likewise.
+       (DeclSpace.DefineMembers): Remove unused argument.
+       * cs-parser.jay (pop_current_class): Update to changes.  Simplify
+       debugging check -- we don't care if the debug code throws an
+       InvalidCastException instead of an InternalErrorException.
+       * class.cs (TypeContainer.DefineMembers): Update to changes.
+       (TypeContainer.DoDefineMembers): Likewise.
+       (TypeContainer.GetMethods): Likewise.
+       (PropertyMember.Define): Likewise.
+       (MemberBase.Parent): New property that forwards to
+       MemberCore.Parent, but ensures that we get a TypeContainer.
+       * rootcontext.cs (RootContext.PopulateCoreType): Update to changes.
+       (RootContext.PopulateTypes): Likewise.  Remove special case code
+       for !RootContext.StdLib: DefineMembers is idempotent.
+
+2005-12-14  Miguel de Icaza  <miguel@novell.com>
+
+       * convert.cs (ExplicitConversionCore): Check the return value from
+       ExplicitConversionCore which can return null on failure.  Fixes #76914
+
+2005-12-13  Marek Safar  <marek.safar@seznam.cz>
+
+       * class.cs (Method.ApplyAttributeBuilder): Test out modifier properly.
+
+2005-12-11  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * doc.cs : The search for referenced namespace was insufficient to
+         get global one as it used to do. Fixed bug #76965.
+
+2005-12-10  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * doc.cs : check name in cref in the last phase that whether it is
+         namespace or not.
+
+2005-12-09  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * cs-tokenizer.cs : reverted the latest change: it somehow broke
+         Mono.C5.
+
+2005-12-09  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * doc.cs : so it turned out that we cannot skip override check for 
+         interface members. Fixed bug #76954.
+
+2005-12-09  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * cs-tokenizer.cs : fixed bug #75984:
+         - #warning and #error should not be handled when the source line
+           is disabled.
+         - #line is not checked strictly when the source line is disabled.
+         - #define and #undef is on the other hand checked strictly at any
+           state.
+
+2005-12-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * cs-tokenizer.cs : missing Location (actually, filename) in one of
+         CS1027 report.
+
 2005-12-05  Marek Safar  <marek.safar@seznam.cz>
 
        * attribute.cs (GlobalAttribute.ctor): Pass NamespaceEntry only.