16 references to ConvertFromString
System.ComponentModel.TypeConverter (12)
System\ComponentModel\TypeConverter.cs (2)
68
return
ConvertFromString
(null, CultureInfo.InvariantCulture, text);
76
return
ConvertFromString
(context, CultureInfo.InvariantCulture, text);
System\Drawing\PointConverter.cs (2)
47
int x = (int)converter.
ConvertFromString
(context, culture, strValue[ranges[0]])!;
48
int y = (int)converter.
ConvertFromString
(context, culture, strValue[ranges[1]])!;
System\Drawing\RectangleConverter.cs (4)
47
int x = (int)converter.
ConvertFromString
(context, culture, strValue[ranges[0]])!;
48
int y = (int)converter.
ConvertFromString
(context, culture, strValue[ranges[1]])!;
49
int width = (int)converter.
ConvertFromString
(context, culture, strValue[ranges[2]])!;
50
int height = (int)converter.
ConvertFromString
(context, culture, strValue[ranges[3]])!;
System\Drawing\SizeConverter.cs (2)
47
int width = (int)converter.
ConvertFromString
(context, culture, strValue[ranges[0]])!;
48
int height = (int)converter.
ConvertFromString
(context, culture, strValue[ranges[1]])!;
System\Drawing\SizeFConverter.cs (2)
47
float width = (float)converter.
ConvertFromString
(context, culture, strValue[ranges[0]])!;
48
float height = (float)converter.
ConvertFromString
(context, culture, strValue[ranges[1]])!;
System.Drawing.Common (2)
System\Drawing\FontConverter.cs (1)
213
fontSize = (float)GetFloatConverter().
ConvertFromString
(context, culture, size)!;
System\Drawing\Printing\MarginsConverter.cs (1)
47
values[i] = (int)intConverter.
ConvertFromString
(context, culture, tokens[i])!;
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ProjectFileReader.FontConverter.cs (1)
76
fontSize = (float)TypeDescriptor.GetConverter(typeof(float)).
ConvertFromString
(null, s_culture, unitTokens.size);
System.Windows.Forms.Primitives (1)
System\ComponentModel\TypeConverterHelper.cs (1)
55
output[i] = (T)converter.
ConvertFromString
(context, culture, text[tokens[i]].ToString())!;