* FontUnit.cs -- GetTypeFromString <--- Function name changed from
IndexOf, which looked ugly. The function name is self-explanatory
svn path=/trunk/mcs/; revision=1736
if(value != null && value != String.Empty)\r
{\r
string low = value.ToLower(culture);\r
- int index = IndexOf(low);\r
+ int index = GetTypeFromString(low);\r
if( index != -1)\r
{\r
type = (FontSize)fs;\r
}\r
}\r
\r
- private int IndexOf(string strVal)\r
+ private int GetTypeFromString(string strVal)\r
{\r
string[] values = {\r
"smaller",\r