25 references to ConvertFromString
PresentationBuildTasks (3)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1811value = converter.ConvertFromString(ctx, TypeConverterHelper.InvariantEnglishUS, attributeValue);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (1)
2538object convertedValue = boolConverter.ConvertFromString(TypeContext, TypeConverterHelper.InvariantEnglishUS, Value);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserContext.cs (1)
433xmlSpace = (System.Xml.XmlSpace)typeConverter.ConvertFromString(null, TypeConverterHelper.InvariantEnglishUS, parserContext.XmlSpace);
PresentationFramework (6)
MS\Internal\Data\PropertyPathWorker.cs (1)
1386arg = tc.ConvertFromString(null, TypeConverterHelper.InvariantEnglishUS,
System\Windows\Markup\BamlRecordReader.cs (1)
1611convertedParam = converter.ConvertFromString(TypeConvertContext,
System\Windows\Markup\BamlRecords.cs (1)
2538object convertedValue = boolConverter.ConvertFromString(TypeContext, TypeConverterHelper.InvariantEnglishUS, Value);
System\Windows\Markup\ParserContext.cs (1)
433xmlSpace = (System.Xml.XmlSpace)typeConverter.ConvertFromString(null, TypeConverterHelper.InvariantEnglishUS, parserContext.XmlSpace);
System\Windows\Markup\XamlTypeMapper.cs (1)
552obj = typeConvert.ConvertFromString(typeContext, TypeConverterHelper.InvariantEnglishUS, value);
System\Windows\PropertyPath.cs (1)
788value = tc.ConvertFromString(null, CultureInfo.InvariantCulture,
System.ComponentModel.TypeConverter (12)
System\ComponentModel\TypeConverter.cs (2)
68return ConvertFromString(null, CultureInfo.InvariantCulture, text); 76return ConvertFromString(context, CultureInfo.InvariantCulture, text);
System\Drawing\PointConverter.cs (2)
47int x = (int)converter.ConvertFromString(context, culture, strValue[ranges[0]])!; 48int y = (int)converter.ConvertFromString(context, culture, strValue[ranges[1]])!;
System\Drawing\RectangleConverter.cs (4)
47int x = (int)converter.ConvertFromString(context, culture, strValue[ranges[0]])!; 48int y = (int)converter.ConvertFromString(context, culture, strValue[ranges[1]])!; 49int width = (int)converter.ConvertFromString(context, culture, strValue[ranges[2]])!; 50int height = (int)converter.ConvertFromString(context, culture, strValue[ranges[3]])!;
System\Drawing\SizeConverter.cs (2)
47int width = (int)converter.ConvertFromString(context, culture, strValue[ranges[0]])!; 48int height = (int)converter.ConvertFromString(context, culture, strValue[ranges[1]])!;
System\Drawing\SizeFConverter.cs (2)
47float width = (float)converter.ConvertFromString(context, culture, strValue[ranges[0]])!; 48float height = (float)converter.ConvertFromString(context, culture, strValue[ranges[1]])!;
System.Drawing.Common (2)
System\Drawing\FontConverter.cs (1)
213fontSize = (float)GetFloatConverter().ConvertFromString(context, culture, size)!;
System\Drawing\Printing\MarginsConverter.cs (1)
47values[i] = (int)intConverter.ConvertFromString(context, culture, tokens[i])!;
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ProjectFileReader.FontConverter.cs (1)
76fontSize = (float)TypeDescriptor.GetConverter(typeof(float)).ConvertFromString(null, s_culture, unitTokens.size);
System.Windows.Forms.Primitives (1)
System\ComponentModel\TypeConverterHelper.cs (1)
55output[i] = (T)converter.ConvertFromString(context, culture, text[tokens[i]].ToString())!;