[Mono-bugs] [Bug 21090] Changed - 'string' can't be used to invoke static members of 'System.String'
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
1 Mar 2002 23:20:54 -0000
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by f_ai@hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=21090
--- shadow/21090 Tue Feb 26 14:15:04 2002
+++ shadow/21090.tmp.5326 Fri Mar 1 18:20:54 2002
@@ -1,14 +1,14 @@
Bug#: 21090
Product: Mono/MCS
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: f_ai@hotmail.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -39,6 +39,14 @@
void fails()
{
s = string.Format("{0}",x);
}
}
}
+
+------- Additional Comments From f_ai@hotmail.com 2002-03-01 18:20 -------
+"string.Format" is 'System.String.Format' as a SimpleName, but the
+Resolve process fails to identify this as a method 'Format' in the
+class 'System.String'.
+
+If the 'member_access' clause 'predefined_type DOT IDENTIFIER'
+creates a 'MemberAccess' and not a SimpleName it seems to work.