32 references to ConvertFromInvariantString
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
PathStringTests.cs (1)
293PathString result = (PathString)converter.ConvertFromInvariantString("/foo")!;
Microsoft.AspNetCore.Identity.EntityFrameworkCore (1)
RoleStore.cs (1)
243return (TKey?)TypeDescriptor.GetConverter(typeof(TKey)).ConvertFromInvariantString(id);
Microsoft.Extensions.Configuration.Binder (1)
ConfigurationBinder.cs (1)
957result = converter.ConvertFromInvariantString(value);
Microsoft.Extensions.Identity.Stores (2)
RoleStoreBase.cs (1)
130return (TKey?)TypeDescriptor.GetConverter(typeof(TKey)).ConvertFromInvariantString(id);
UserStoreBase.cs (1)
231return (TKey?)TypeDescriptor.GetConverter(typeof(TKey)).ConvertFromInvariantString(id);
Microsoft.Maui.Controls (10)
BindableProperty.cs (1)
229 value = typeConverterTo.ConvertFromInvariantString(value.ToString());
Brush\BrushTypeConverter.cs (5)
68 var color = (Color)_colorTypeConverter.ConvertFromInvariantString(strValue); 77 var color = (Color)_colorTypeConverter.ConvertFromInvariantString(strValue); 128 var color = (Color)_colorConverter.ConvertFromInvariantString(parts[0]); 141 var color = (Color)_colorConverter.ConvertFromInvariantString(parts[0]); 172 var color = (Color)_colorConverter.ConvertFromInvariantString(colorString.ToString());
ColumnDefinitionCollectionTypeConverter.cs (1)
30 definitions[i] = new ColumnDefinition { Width = (GridLength)converter.ConvertFromInvariantString(lengths[i]) };
RowDefinitionCollectionTypeConverter.cs (1)
30 definitions[i] = new RowDefinition { Height = (GridLength)converter.ConvertFromInvariantString(lengths[i]) };
Shapes\StrokeShapeTypeConverter.cs (1)
69 Geometry pathGeometry = pathGeometryConverter.ConvertFromInvariantString(parts[1]) as Geometry;
Xaml\TypeConversionExtensions.cs (1)
155 return xfTypeConverter.ConvertFromInvariantString(str);
PresentationCore (1)
System\Windows\Input\Command\KeyGesture.cs (1)
295return _keyGestureConverter.ConvertFromInvariantString(keyGestureToken) as KeyGesture;
System.ComponentModel.Annotations (2)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (2)
230? converter.ConvertFromInvariantString((string)minimum)! 233? converter.ConvertFromInvariantString((string)maximum)!
System.ComponentModel.TypeConverter (2)
System\ComponentModel\AmbientValueAttribute.cs (1)
42_value = TypeDescriptorGetConverter(type).ConvertFromInvariantString(value);
System\ComponentModel\TypeDescriptor.cs (1)
886return GetConverter(type).ConvertFromInvariantString(stringValue);
System.Configuration.ConfigurationManager (4)
System\Configuration\ConfigurationProperty.cs (2)
305defaultValue = Converter.ConvertFromInvariantString((string)defaultValue); 336result = Converter.ConvertFromInvariantString(value);
System\Configuration\InfiniteTimeSpanConverter.cs (1)
26: s_timeSpanConverter.ConvertFromInvariantString((string)data);
System\Configuration\SettingsPropertyValue.cs (1)
210return converter.ConvertFromInvariantString(serializedValue);
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
52propValue = converter.ConvertFromInvariantString(value); 299propValue = converter.ConvertFromInvariantString(value);
System.Resources.Extensions (2)
System\Resources\Extensions\DeserializingResourceReader.cs (1)
191value = converter.ConvertFromInvariantString(stringData)!;
System\Resources\Extensions\PreserializedResourceWriter.cs (1)
107object primitiveValue = converter.ConvertFromInvariantString(value)!;
System.Windows.Forms (4)
System\Resources\ResXDataNode.cs (1)
371return converter.ConvertFromInvariantString(dataNodeInfo.ValueData);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1178newValue = converter.ConvertFromInvariantString(value);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
162clonedValue = converter.ConvertFromInvariantString(stringRepresentation);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (1)
51if (converter.ConvertFromInvariantString(stringVal) is TableLayoutSettings tls)