22 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)
945result = 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);
PresentationCore (1)
System\Windows\Input\Command\KeyGesture.cs (1)
298return _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)
372return converter.ConvertFromInvariantString(dataNodeInfo.ValueData);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1181newValue = 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)