Author: sudha
Date: 2005-08-22 07:50:08 -0400 (Mon, 22 Aug 2005)
New Revision: 48649
Modified:
trunk/mcs/mbas/ChangeLog
trunk/mcs/mbas/expression.cs
trunk/mcs/mbas/typemanager.cs
Log:
2005-08-22 Satya Sudha K <ksathyasudha (AT) novell (DOT) com>
* expression.cs :
Invocation's DoResolve method : Avoid resolving multiple
times.
* typemanager.cs :
'GetPertinentStandardModules' : Case-insensitive name
lookup
Modified: trunk/mcs/mbas/ChangeLog
trunk/mcs/mbas/ChangeLog2005-08-22 10:28:07 UTC (rev 48648)
trunk/mcs/mbas/ChangeLog2005-08-22 11:50:08 UTC (rev 48649)
@@ -1,3 +1,9 @@
+2005-08-22 Satya Sudha K <ksathyasudha (AT) novell (DOT) com>
+* expression.cs :
+Invocation's DoResolve method : Avoid resolving multiple times.
+* typemanager.cs :
+'GetPertinentStandardModules' : Case-insensitive name lookup
+
2005-08-19 Satya Sudha K <ksathyasudha (AT) novell (DOT) com>
* expression.cs :
Preventing conversion of an 'object' to 't[]' where the latter is a
Modified: trunk/mcs/mbas/expression.cs
trunk/mcs/mbas/expression.cs2005-08-22 10:28:07 UTC (rev 48648)
trunk/mcs/mbas/expression.cs2005-08-22 11:50:08 UTC (rev 48649)
@@ -4575,6 +4575,8 @@
public override Expression DoResolve (EmitContext ec)
{
+if (method != null)// already resolved
+return this;
//
// First, resolve the expression that is used to
// trigger the invocation
Modified: trunk/mcs/mbas/typemanager.cs
trunk/mcs/mbas/typemanager.cs2005-08-22 10:28:07 UTC (rev 48648)
trunk/mcs/mbas/typemanager.cs2005-08-22 11:50:08 UTC (rev 48649)
@@ -528,7 +528,7 @@
foreach(string Namespace in namespaces)
{
for(int i = 0; i < standardModules.Length; i++) {
-if (standardModules[i].Namespace == Namespace) {
+if (standardModules[i].Namespace.ToLower () == Namespace.ToLower ()) {
string name = standardModules[i].ToString();
Type t = LookupType(name);
if (t == null) {
Mono-patches maillist - Mono-patches (AT) lists (DOT) ximian.com