25 references to ConvertFromString
PresentationBuildTasks (3)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1811
value = converter.
ConvertFromString
(ctx, TypeConverterHelper.InvariantEnglishUS, attributeValue);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (1)
2538
object convertedValue = boolConverter.
ConvertFromString
(TypeContext, TypeConverterHelper.InvariantEnglishUS, Value);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserContext.cs (1)
433
xmlSpace = (System.Xml.XmlSpace)typeConverter.
ConvertFromString
(null, TypeConverterHelper.InvariantEnglishUS, parserContext.XmlSpace);
PresentationFramework (6)
MS\Internal\Data\PropertyPathWorker.cs (1)
1386
arg = tc.
ConvertFromString
(null, TypeConverterHelper.InvariantEnglishUS,
System\Windows\Markup\BamlRecordReader.cs (1)
1611
convertedParam = converter.
ConvertFromString
(TypeConvertContext,
System\Windows\Markup\BamlRecords.cs (1)
2538
object convertedValue = boolConverter.
ConvertFromString
(TypeContext, TypeConverterHelper.InvariantEnglishUS, Value);
System\Windows\Markup\ParserContext.cs (1)
433
xmlSpace = (System.Xml.XmlSpace)typeConverter.
ConvertFromString
(null, TypeConverterHelper.InvariantEnglishUS, parserContext.XmlSpace);
System\Windows\Markup\XamlTypeMapper.cs (1)
552
obj = typeConvert.
ConvertFromString
(typeContext, TypeConverterHelper.InvariantEnglishUS, value);
System\Windows\PropertyPath.cs (1)
788
value = tc.
ConvertFromString
(null, CultureInfo.InvariantCulture,
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())!;