Author: jpobst
Date: 2007-12-03 13:02:03 -0500 (Mon, 03 Dec 2007)
New Revision: 90569
Modified:
trunk/moma/ChangeLog
trunk/moma/MoMA.Analyzer/Method.cs
Log:
12-03-2007 Jonathan Pobst <[EMAIL PROTECTED]>
* Method.cs: Fix a parser bug found in the 3.0/3.5 classes.
Modified: trunk/moma/ChangeLog
===================================================================
--- trunk/moma/ChangeLog 2007-12-03 17:56:01 UTC (rev 90568)
+++ trunk/moma/ChangeLog 2007-12-03 18:02:03 UTC (rev 90569)
@@ -1,3 +1,7 @@
+12-03-2007 Jonathan Pobst <[EMAIL PROTECTED]>
+
+ * Method.cs: Fix a parser bug found in the 3.0/3.5 classes.
+
08-02-2007 Jonathan Pobst <[EMAIL PROTECTED]>
* MainForm.Designer.cs: Bump version to 1.2.5.
Modified: trunk/moma/MoMA.Analyzer/Method.cs
===================================================================
--- trunk/moma/MoMA.Analyzer/Method.cs 2007-12-03 17:56:01 UTC (rev 90568)
+++ trunk/moma/MoMA.Analyzer/Method.cs 2007-12-03 18:02:03 UTC (rev 90569)
@@ -62,7 +62,7 @@
return_type = raw_method.Substring (0,
raw_method.IndexOf (" "));
int colons = raw_method.IndexOf ("::");
- int function_end = raw_method.IndexOf ("(");
+ int function_end = raw_method.IndexOf ("(", colons);
function_name = raw_method.Substring (colons + 2,
function_end - colons - 2).Replace ("::", ".");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches